Programming verification method of nonvolatile memory cell, semiconductor memory device, and portable electronic apparatus having the semiconductor memory device

ABSTRACT

A programming verification method of verifying programming of a nonvolatile memory cell, the method comprising at least the steps of: selecting first, second, . . . and n-th references corresponding to first, second, . . . and n-th threshold voltages specifying lower limit values of states  1, 2,  . . . and n, respectively; applying a programming voltage to the nonvolatile memory cell; sensing a threshold voltage level of the nonvolatile memory cell; comparing the sensed threshold voltage level with the first reference to output a first result; comparing the threshold voltage level with one of the second and third references selected according to the first result to output a second result; and comparing the first and second results with an expectation value and, in the case where the first and second results are equal to the expectation value, indicating that the programming has succeeded, wherein the nonvolatile memory cell includes a gate electrode formed on a semiconductor layer via a gate insulating film, a channel region disposed under the gate electrode, a source and a drain as diffusion regions disposed on both sides of the channel region and having a conductive type opposite to that of the channel region, and memory functional units formed on both sides of the gate electrode and having the function of retaining charges.

CROSS-REFERENCE TO RELATED APPLICATION

[0001] This application is related to Japanese application No. 2003-142167 filed on May 20, 2003 whose priority is claimed under 35 USC §119, the disclosure of which is incorporated by reference in its entirety.

BACKGROUND OF THE INVENTION

[0002] 1. Field of the Invention

[0003] The present invention relates to a programming verification method of a nonvolatile memory cell, a semiconductor memory device, and a portable electronic apparatus having the semiconductor memory device. More specifically, the present invention relates to a programming verification method or refreshing method of a memory cell including a memory functional unit having the function of retaining charges, a semiconductor memory device in which the memory cells are arranged, and a portable electronic apparatus having such a semiconductor memory device.

[0004] 2. Description of the Related Art Conventionally, a flash memory has been typically used as a nonvolatile memory.

[0005] As shown in FIG. 22, in such a flash memory, a floating gate 902, an insulating film 907 and a word line (control gate) 903 are formed in this order on a semiconductor substrate 901 via a gate insulating film. On both sides of the floating gate 902, a source line 904 and a bit line 905 are formed in diffusion regions, thereby forming a memory cell. Around the memory cell, a device isolation region 906 is formed (see, for example, Japanese Unexamined Patent Publication No. 5-304277(1993)).

[0006] The memory cell retains data according to a charge amount in the floating gate 902. In a memory cell array constructed by arranging memory cells, by selecting a specific word line and a specific bit line and applying a predetermined voltage, an operation of rewriting/reading a desired memory cell can be performed.

[0007] In such a flash memory, when a charge amount in the floating gate changes, a drain current (Id)-gate voltage (Vg) characteristic as shown in FIG. 23 is displayed. In FIG. 23, a solid line shows the characteristics in a writing state while a dashed line shows the characteristics in an erasing state. When the amount of negative charges in the floating gate increases, the threshold increases, and an Id-Vg curve shifts almost in parallel in the direction of increasing Vg.

[0008] However, in the above-described flash memory, it has been functionally necessary to dispose the insulating film 907 for separating the floating gate 902 and the word line 903 from each other, and further, it has been difficult to reduce the thickness of the gate insulating film in order to prevent any leakage of charges from the floating gate 902. As a consequence, it has been difficult to effectively reduce the thickness of each of the insulating film 907 and the gate insulating film, thereby inhibiting the microfabrication of the memory cell.

SUMMARY OF THE INVENTION

[0009] The present invention has been- achieved in consideration of the problems and its object is to provide a programming verification method of a nonvolatile memory cell which facilitates its microfabrication, a semiconductor memory device, and a portable electronic apparatus having the semiconductor memory device.

[0010] The present invention provides a method of verifying programming of a nonvolatile memory cell in a semiconductor memory device to a desired state, the semiconductor memory device including at least one nonvolatile memory cell having n (n>2) possible states, each state corresponding to threshold voltage levels within a predetermined range, the nonvolatile memory cell holding a voltage level indicative of one of the states, the method comprising at least the steps of:

[0011] selecting first, second, . . . and n-th references respectively corresponding to first, second, . . . and n-th threshold voltages, the first, second, . . . and n-th threshold voltages specifying lower limit values of first, second, . . . and n-th states, respectively;

[0012] applying a programming voltage to the nonvolatile memory cell;

[0013] sensing a threshold voltage level of the nonvolatile memory cell;

[0014] comparing the sensed threshold voltage level of the nonvolatile memory cell with the first reference to output a first result of the comparison between the threshold voltage level of the nonvolatile memory cell and the first reference;

[0015] comparing the threshold voltage level of the nonvolatile memory cell with one of the second and third references selected according to the first result to output a second result of the comparison between the threshold voltage level of the nonvolatile memory cell and the selected one of the second and third references; and

[0016] comparing the first and second results with an expectation value indicative of a desired state and, in the case where the first and second results are equal to the expectation value, indicating that the programming has succeeded,

[0017] wherein the nonvolatile memory cell includes a gate electrode formed on a semiconductor layer via a gate insulating film, a channel region formed below the gate electrode, a source and a drain as diffusion regions formed on both sides of the channel region and having a conductive type opposite to that of the channel region, and memory functional units formed on both sides of the gate electrode and having the function of retaining charges.

[0018] According to the present invention, it is possible to the programming verification method of verifying that a memory cell having three or more possible states is written in a desired state without being under-programmed.

[0019] In the nonvolatile memory cell used in the programming verification method of the present invention, a memory function of the memory functional unit and a transistor operation function of the gate insulating film are separated from each other. Consequently, it is easy to suppress the short channel effect by thinning the gate insulating film while remaining the sufficient memory function. Further, a value of current flowing between the diffusion regions by rewriting changes larger as compared with the case of an EEPROM. Therefore, it facilitates discrimination between the writing state and the erasing state of the semiconductor memory device.

[0020] Further, the nonvolatile memory cell in the semiconductor memory device of the present invention can be formed by a process which has very high affinity with a normal transistor forming process on the basis of the configuration. Therefore, as compared with the case of using a conventional flash memory as a nonvolatile memory cell and forming the memory cell together with a peripheral circuit which is usually made by a transistor, the number of masks and the number of processes can be dramatically reduced. Consequently, the yield of a chip on which the memory cell and the peripheral circuit are formed together can be improved. Because of this, the manufacturing cost is reduced, and a very-reliable, cheap semiconductor memory device can be obtained.

[0021] In the programming verification method according to the present invention, the step of comparing the threshold voltage level of the nonvolatile memory cell with the selected one of the second and third references may include the step of comparing the threshold voltage level of the nonvolatile memory cell with the second reference in the case where the first result indicates that the threshold voltage level of the nonvolatile memory cell is smaller than the first reference, and comparing the threshold voltage level of the nonvolatile memory cell with the third reference in the case where the first result indicates that the threshold voltage level of the nonvolatile memory cell is larger than the first reference.

[0022] The programming verification method according to the present invention may further include a plurality of steps of: applying a programming voltage to the nonvolatile memory cell; comparing the threshold voltage level of the nonvolatile memory cell with the first reference to output the first result; comparing the threshold voltage of the nonvolatile memory cell with selected one of the second and third references to output the second result; comparing the first and second results with an expectation value; and, in the case where the first and second results are not equal to the expectation value, repeating the above steps in this order until the first and second results become equal to the expectation value.

[0023] The present invention also provides a method of verifying programming of a nonvolatile memory cell in a semiconductor memory device to a desired state, the semiconductor memory device including at least one nonvolatile memory cell having n (n>2) possible states, each state corresponding to threshold voltage levels within a predetermined range, the nonvolatile memory cell holding a voltage level indicative of one of the states, comprising at least the steps of:

[0024] selecting a first reference, the first reference corresponding to a first voltage, the first voltage specifying a lower limit of threshold voltage levels within a predetermined range, the threshold voltage levels for indicating the desired state;

[0025] selecting a second reference corresponding to a second voltage, the second voltage specifying an upper limit of the threshold voltage levels within the predetermined range, the threshold voltage levels for indicating the desired state;

[0026] applying a programming voltage to the nonvolatile memory cell;

[0027] sensing a threshold voltage level of the nonvolatile memory cell; and

[0028] comparing the sensed threshold voltage level of the nonvolatile memory cell with the first reference, comparing the sensed threshold voltage level of the nonvolatile memory cell with the second reference and, in the case where the threshold voltage level of the nonvolatile memory cell is higher than the first reference and lower than the second reference, indicating that the nonvolatile memory cell is programmed into the desired state,

[0029] wherein the nonvolatile memory cell includes a gate electrode formed on a semiconductor layer via a gate insulating film, a channel region formed below the gate electrode, a source and a drain as diffusion regions formed on both sides of the channel region and having a conductive type opposite to that of the channel region, and memory functional units formed on both sides of the gate electrode and having the function of retaining charges.

[0030] According to the present invention, it is possible to provide the programming verification method of verifying that a memory cell having three or more possible states is written in a desired state without being under-programmed.

[0031] The programming verification method according to the present invention may further include a plurality of steps of: applying a programming voltage to the nonvolatile memory cell when the threshold voltage level of the nonvolatile memory cell is lower than the threshold voltage level of the first reference; comparing the threshold voltage level of the nonvolatile memory cell with the first and second references; and repeating the above steps in this order until the threshold voltage level of the nonvolatile memory cell becomes higher than the threshold voltage of the first reference.

[0032] Alternatively, the programming verification method according to the present invention may further include the step of: indicating that the nonvolatile memory cell is over-programmed when the threshold voltage level of the nonvolatile memory cell is higher than the second reference.

[0033] The programming verification method according to the present invention may further include the step of: executing the step of receiving data indicating that the nonvolatile memory cell is in the desired state and selecting the first reference and the step of receiving the data and selecting the second reference in accordance with the received data.

[0034] The present invention also provides a method of verifying programming of a nonvolatile memory cell in a semiconductor memory device to a desired state, the semiconductor memory device including at least one nonvolatile memory cell having n (n>2) possible states, each state corresponding to threshold voltage levels within a predetermined range, the nonvolatile memory cell holding a voltage level indicative of one of the states, the method comprising at least the steps of:

[0035] selecting a first reference, the first reference specifying a lower limit of threshold voltage levels in the predetermined range, the threshold voltage levels for indicating the desired state;

[0036] applying a programming voltage to the nonvolatile memory cell;

[0037] sensing a threshold voltage level of the nonvolatile memory cell; and

[0038] comparing the sensed threshold voltage level of the nonvolatile memory cell with the first reference and, in the case where the threshold voltage level of the nonvolatile memory cell is higher than the first reference, indicating that the nonvolatile memory cell is programmed into the desired state,

[0039] wherein the nonvolatile memory cell includes a gate electrode formed on a semiconductor layer via a gate insulating film, a channel region formed below the gate electrode, a source and a drain as diffusion regions formed on both sides of the channel region and having a conductive type opposite to that of the channel region, and memory functional units formed on both sides of the gate electrode and having the function of retaining charges.

[0040] According to the present invention, it is possible to provide the programming verification method of verifying that a memory cell having three or more possible states is written in a desired state.

[0041] The programming verification method according to the present invention may further include a plurality of steps of: applying a programming voltage to the nonvolatile memory cell; comparing the threshold voltage level of the nonvolatile memory cell with the first reference; and, in the case where the threshold voltage level of the nonvolatile memory cell is lower than the threshold voltage level of the first reference, repeating the above steps in this order until the threshold voltage level of the nonvolatile memory cell becomes higher than the threshold voltage of the first reference.

[0042] The present invention also provides a method of verifying programming of a nonvolatile memory cell in a semiconductor memory device to a desired state, the semiconductor memory device including at least one nonvolatile memory cell having n (n>2) possible states, each state corresponding to threshold voltage levels within a predetermined range, the nonvolatile memory cell holding a voltage level indicative of one of the states, the method comprising at least the steps of:

[0043] selecting a first reference, the first reference corresponding to a first voltage, the first voltage specifying an upper limit of threshold voltage levels within a predetermined range, the threshold voltage levels for indicating the desired state;

[0044] sensing the threshold voltage level of the nonvolatile memory cell; and

[0045] comparing the sensed threshold voltage level of the nonvolatile memory cell with the first reference and, in the case where the threshold voltage level of the nonvolatile memory cell is higher than the first reference, indicating that the nonvolatile memory cell is over-programmed,

[0046] wherein the nonvolatile memory cell includes a gate electrode formed on a semiconductor layer via a gate insulating film, a channel region formed below the gate electrode, a source and a drain as diffusion regions formed on both sides of the channel region and having a conductive type opposite to that of the channel region, and memory functional units formed on both sides of the gate electrode and having the function of retaining charges.

[0047] The present invention also provides a method of refreshing and setting a nonvolatile memory cell in a semiconductor memory device into a desired state, the method comprising the steps of:

[0048] selecting a first reference, the first reference specifying a lower limit of threshold voltage levels within a predetermined range, the threshold voltage levels for indicating a desired state;

[0049] sensing a threshold voltage level of the nonvolatile memory cell;

[0050] comparing the sensed threshold voltage level of the nonvolatile memory cell with the first reference; and

[0051] applying a programming voltage to the nonvolatile memory cell, comparing the threshold voltage level of the nonvolatile memory cell with the first reference and, in the case where the threshold voltage level of the nonvolatile memory cell is lower than the first reference, repeating the above steps in this order until the threshold voltage level of the nonvolatile memory cell becomes higher than the first reference,

[0052] wherein the nonvolatile memory cell includes a gate electrode formed on a semiconductor layer via a gate insulating film, a channel region formed below the gate electrode, a source and a drain as diffusion regions formed on both sides of the channel region and having a conductive type opposite to that of the channel region, and memory functional units formed on both sides of the gate electrode and having the function of retaining charges.

[0053] The present invention also provides a semiconductor memory device including a programming circuit for verifying programming, to a desired state, of a nonvolatile memory cell, which has n (n>2) possible states each corresponding to a threshold voltage level within a predetermined range and holds the threshold voltage level indicative of one of the states, in the semiconductor memory device including at least one nonvolatile memory cell, wherein the programming circuit includes: a plurality of read references corresponding to read voltages of a plurality of states; a first reference corresponding to a first voltage specifying a first lower-limit value of a first state; a second reference corresponding to a second voltage specifying a second lower-limit value of a second state; a third reference corresponding to a third voltage specifying a third lower-limit value of a third state; a control engine connected to the nonvolatile memory cell and the first, second and third references in order to apply a programming voltage to the nonvolatile memory cell so as to program the nonvolatile memory cell in a desired state, generate a selection signal to select the first, second or third reference, sense the present state of the nonvolatile memory cell, compare the present state with the desired state and, in the case where the present state is equal to the desired state, display that the nonvolatile memory cell is programmed successfully; and a sense circuit connected to the first, second or third reference in accordance with the selection signal and to the nonvolatile memory cell and the control engine, for sensing the present state of the nonvolatile memory cell, the sense circuit includes: a first comparator, connected to the nonvolatile memory cell, the control engine and the first reference, for comparing a threshold voltage level of the nonvolatile memory cell with the first reference to output a first result to the control engine; a second comparator, connected to the nonvolatile memory cell, the control engine and the selected one of the second and third references, for comparing the threshold voltage level of the nonvolatile memory cell with the selected one of the second and third references to output a second result to the control engine; and a selection circuit, connected so as to receive the first result out of the first and second results indicative of the present state of the nonvolatile memory cell, for selectively connecting one of the second and third references to the second comparator in accordance with the first result, and the nonvolatile memory cell includes a gate electrode formed on a semiconductor layer via a gate insulating film, a channel region disposed under the gate electrode, a source and a drain as diffusion regions disposed on both sides of the channel region and having a conductive type opposite to that of the channel region, and memory functional units formed on both sides of the gate electrode and having the function of retaining charges.

[0054] In the semiconductor memory device according to the present invention, in the case where the threshold voltage level of the nonvolatile memory cell is higher than the threshold voltage level of the first reference, the selection circuit may connect the second reference and the second comparator.

[0055] In the semiconductor memory device, in the case where the threshold voltage level of the nonvolatile memory cell is lower than the threshold voltage level of the first reference, the selection circuit may connect the third reference and the second comparator.

[0056] In the semiconductor memory device according to the present invention, each of the plurality of read references and the first, second and third references may be a reference memory cell.

[0057] The present invention also provides a semiconductor memory device including a programming circuit for verifying programming, to a desired state, of a nonvolatile memory cell, which has n (n>2) possible states each corresponding to a threshold voltage level within a predetermined range and holds the threshold voltage level indicative of one of the states, in the semiconductor memory device including at least one nonvolatile memory cell, wherein the programming circuit includes: a plurality of read references corresponding to read voltages of a plurality of states; a first reference corresponding to a first voltage specifying a lower-limit value of a desired state; a second reference corresponding to a second voltage specifying an upper-limit value of the desired state; a control engine connected between the nonvolatile memory cell and the first and second references in order to apply a programming voltage to the nonvolatile memory cell so as to program the nonvolatile memory cell into a desired state, generate a selection signal to select the first and second references, and sense the present state of the nonvolatile memory cell; and a sense circuit, connected to the first and second references in accordance with the selection signal and connected to the nonvolatile memory cell and the control engine, for sensing the presently retained voltage of the nonvolatile memory cell, the sense circuit includes: a first comparator, connected to the nonvolatile memory cell, the control engine and the first reference, for comparing a threshold voltage level of the nonvolatile memory cell with the first reference and, in the case where the threshold voltage level of the nonvolatile memory cell is higher than the first reference, outputting a first result signal to the control engine; and a second comparator, connected to the nonvolatile memory cell, the control engine and the second reference, for comparing the threshold voltage level of the nonvolatile memory cell with the second reference and, in the case where the threshold voltage of the nonvolatile memory cell is smaller than the second reference, outputting the second result signal to the control engine, the sense circuit indicates that the nonvolatile memory cell is programmed in the desired state from outputs of the first and second result signals, and the nonvolatile memory cell includes a gate electrode formed on a semiconductor layer via a gate insulating film, a channel region disposed under the gate electrode, a source and a drain as diffusion regions disposed on both sides of the channel region and having a conductive type opposite to that of the channel region, and memory functional units formed on both sides of the gate electrode and having the function of retaining charges.

[0058] In the semiconductor memory cell according to the present invention, each of the first and second references may be a reference memory cell.

[0059] The semiconductor memory device of the present invention may further include: first and second values each showing a desired state; and a control engine for comparing a first result signal with the first value and, in the case where the first result signal is not equal to the first value, applying a programming voltage.

[0060] The present invention also provides a semiconductor memory device including a programming circuit for verifying programming, to a desired state, of a nonvolatile memory cell, which has n (n>2) possible states each corresponding to a threshold voltage level within a predetermined range and holds the threshold voltage level indicative of one of the states, in the semiconductor memory device including at least one nonvolatile memory cell, wherein the programming circuit includes:

[0061] a plurality of read references corresponding to read voltages of a plurality of states; a first reference corresponding to a first voltage specifying a lower-limit value of a desired state; a control engine connected between the nonvolatile memory cell and a second reference in order to apply a programming voltage to the nonvolatile memory cell so as to program the nonvolatile memory cell in a desired state, generate a selection signal to select the first reference, and sense the present state of the nonvolatile memory cell; and a sense circuit, connected to the first reference in accordance with the selection signal and connected to the nonvolatile memory cell and the control engine, for sensing the presently retained voltage of the nonvolatile memory cell, the sense circuit includes a first comparator, connected to the nonvolatile memory cell, the control engine and the first reference, for comparing a threshold voltage level of the nonvolatile memory cell with the first reference and, in the case where the threshold voltage level of the nonvolatile memory cell is higher than the first reference, outputting a result signal indicating that the nonvolatile memory cell is programmed into the desired state to the control engine, and the nonvolatile memory cell includes a gate electrode formed on a semiconductor layer via a gate insulating film, a channel region disposed under the gate electrode, a source and a drain as diffusion regions disposed on both sides of the channel region and having a conductive type opposite to that of the channel region, and memory functional units formed on both sides of the gate electrode and having the function of retaining charges.

[0062] In the semiconductor memory device according to the present invention, the first reference may be a reference memory cell.

[0063] The semiconductor memory device according to the present invention may further include: a first value showing a desired state; and a control engine for comparing a first result with the first value and, in the case where the first result is not equal to the first value, applying the programming voltage.

[0064] In the semiconductor memory device according to the present invention, the nonvolatile memory cell may include a film which extends almost parallel with a side face of the gate electrode and has the function of retaining charges.

[0065] With the configuration, charges injected into the memory functional units increase and programming speed increases.

[0066] In the semiconductor memory device according to the present invention, the nonvolatile memory cell may include a film having a surface which extends almost parallel with a surface of the gate insulating film and having the function of retaining charges, and an insulating film for separating the film from a channel region or a semiconductor layer, and the thickness of the insulating film is larger than that of the gate insulating film and is 0.8 nm or more.

[0067] With the configuration, injection of charges into the memory functional units is facilitated and programming can be made at high speed.

[0068] In the semiconductor memory device according to the present invention, the nonvolatile memory cell may include a film having a surface almost parallel with a surface of the gate insulating film and having the function of retaining charges.

[0069] With the configuration, variation of the memory effects can be suppressed.

[0070] The present invention also provides a semiconductor memory device including a sensing circuit for sensing over-programming of a nonvolatile memory cell, which has n (n>2) possible states each corresponding to a threshold voltage level within a predetermined range and holds the threshold voltage level indicative of one of the states, in the semiconductor memory device including at least one nonvolatile memory cell, wherein the sensing circuit includes: a plurality of read references corresponding to read voltages of a plurality of states; a first reference corresponding to a first voltage specifying an upper-limit value of a desired state; a control engine, connected to the nonvolatile memory cell and the first reference, for generating a selection signal to select the first reference and sensing the present state of the nonvolatile memory cell; and a sense circuit, connected to the first reference in accordance with the selection signal and connected to the nonvolatile memory cell and the control engine, for sensing the presently retained voltage of the nonvolatile memory cell, the sense circuit includes a first comparator, connected to the nonvolatile memory cell, the control engine and the first reference, for comparing a threshold voltage level of the nonvolatile memory cell with the first reference and, in the case where the threshold voltage level of the nonvolatile memory cell is higher than the first reference, outputting a result signal indicating that the nonvolatile memory cell is over-programmed to the control engine, and the nonvolatile memory cell includes a gate electrode formed on a semiconductor layer via a gate insulating film, a channel region disposed under the gate electrode, a source and a drain as diffusion regions disposed on both sides of the channel region and having a conductive type opposite to that of the channel region, and memory functional units formed on both sides of the gate electrode and having the function of retaining charges.

[0071] The first reference may be a reference memory cell.

[0072] Alternatively, the semiconductor memory device may further include: a first value showing a desired state; and a control engine for comparing a first result signal with the first value and, in the case where the first result signal is not equal to the first value, indicating that the nonvolatile memory cell is over-programmed.

[0073] A portable electronic apparatus of the present invention may include the above-described semiconductor memory device.

BRIEF DESCRIPTION OF THE DRAWINGS

[0074]FIG. 1 is a schematic sectional view showing a main part of a memory cell (first embodiment) in a semiconductor memory device according to the present invention;

[0075]FIG. 2(a) and FIG. 2(b) are schematic sectional views each showing a main part of a modification of the memory cell (first embodiment) in the semiconductor memory device according to the present invention;

[0076]FIG. 3 is a diagram for describing a writing operation of the memory cell (first embodiment) in the semiconductor memory device according to the present invention;

[0077]FIG. 4 is a diagram for describing a writing operation of the memory cell (first embodiment) in the semiconductor memory device according to the present invention;

[0078]FIG. 5 is a diagram for describing an erasing operation of the memory cell (first embodiment) in the semiconductor memory device according to the present invention;

[0079]FIG. 6 is a diagram for describing an erasing operation of the memory cell (first embodiment) in the semiconductor memory device according to the present invention;

[0080]FIG. 7 is a diagram for describing a reading operation of the memory cell (first embodiment) in the semiconductor memory device according to the present invention;

[0081]FIG. 8 is a schematic sectional view showing a main part of a memory cell (second embodiment) in the semiconductor memory device according to the present invention;

[0082]FIG. 9 is an enlarged schematic sectional view of the main part shown in FIG. 8;

[0083]FIG. 10 is an enlarged schematic sectional view of a modification of the main part shown in FIG. 8;

[0084]FIG. 11 is a graph showing electric characteristics of the memory cell (second embodiment) in the semiconductor memory device according to the present invention;

[0085]FIG. 12 is a schematic sectional view showing a main part of a modification of the memory cell (second embodiment) in the semiconductor memory device according to the present invention;

[0086]FIG. 13 is a schematic sectional view showing a main part of a memory cell (third embodiment) in the semiconductor memory device according to the present invention;

[0087]FIG. 14 is a schematic sectional view showing a main part of a memory cell (fourth embodiment) in the semiconductor memory device according to the present invention;

[0088]FIG. 15 is a schematic sectional view showing a main part of a memory cell (fifth embodiment) in the semiconductor memory device according to the present invention;

[0089]FIG. 16 is a schematic sectional view showing a main part of a memory cell (sixth embodiment) in the semiconductor memory device according to the present invention;

[0090]FIG. 17 is a schematic sectional view showing a main part of a memory cell (seventh embodiment) in the semiconductor memory device according to the present invention;

[0091]FIG. 18 is a schematic sectional view showing a main part of a memory cell (eighth embodiment) in the semiconductor memory device according to the present invention;

[0092]FIG. 19 is a graph showing electric characteristics of a memory cell (ninth embodiment) in the semiconductor memory device according to the present invention;

[0093]FIG. 20 is a schematic configuration diagram showing a liquid crystal display device (eleventh embodiment) incorporating therein the semiconductor memory device according to the present invention;

[0094]FIG. 21 is a schematic configuration diagram showing a portable electronic apparatus (twelfth embodiment) incorporating therein the semiconductor memory device according to the present invention;

[0095]FIG. 22 is a schematic sectional view showing a main part of a conventional flash memory;

[0096]FIG. 23 is a graph showing electric characteristics of a conventional flash memory;

[0097]FIG. 24 is a block diagram showing a computer system of a semiconductor memory device (tenth embodiment) according to the present invention;

[0098]FIG. 25 is a graph showing distribution of threshold voltages in a writing state and an erasing state of a memory cell in the semiconductor memory device (tenth embodiment) according to the present invention;

[0099]FIG. 26 is a block diagram showing a bi-output sensing and writing path architecture for carrying out a write verification scheme by the semiconductor memory device (tenth embodiment) according to the present invention;

[0100]FIG. 27 is a flowchart showing a binary searching method for determining the state of a memory cell having two or more possible states in a programming verification method (tenth embodiment) according to the present invention;

[0101]FIG. 28 is a flowchart showing a binary searching method in the programming verification method (tenth embodiment) according to the present invention;

[0102]FIG. 29 is a circuit diagram showing a sense circuit for determining the state of the memory cell having two or more possible states in the semiconductor memory device (tenth embodiment) according to the present invention;

[0103]FIG. 30 is a graph showing distribution of a threshold voltage of a memory cell in the semiconductor memory device (tenth embodiment) according to the present invention;

[0104]FIG. 31 is a flowchart showing a first method for performing a writing verification process on a plurality of bit memory cells in the semiconductor memory device (tenth embodiment) according to the present invention;

[0105]FIG. 32 is a flowchart showing another method for performing the writing verification process on the plurality of bit memory cells in the semiconductor memory device (tenth embodiment) according to the present invention;

[0106]FIG. 33 is a flowchart showing still another method for performing the writing verification process on the plurality of bit memory cells in the semiconductor memory device (tenth embodiment) according to the present invention;

[0107]FIG. 34 is a flowchart showing a method of an over-programming sensing process in the programming verification method (tenth embodiment) according to the present invention; and

[0108]FIG. 35 is a flowchart showing refreshing method of a memory cell in the semiconductor memory device (tenth embodiment) according to the present invention.

DETAILED DESCRIPTION OF THE INVENTION

[0109] A semiconductor memory device according to the present invention is mainly constructed by a nonvolatile memory cell, a reference cell and a program circuit for programming the reference cell in a reference state. Herein, the program means that a desired amount of charges is accumulated in each of the nonvolatile memory cell and the reference cell. Furthermore, the program circuit is a circuit for accumulating the desired amount of charges in each of the nonvolatile memory cell and the reference cell. It is noted that the semiconductor memory device according to the present invention basically adopts a MOS circuit. It is preferable to mount all of the circuits inclusive of the MOS circuit on a single semiconductor substrate.

[0110] The nonvolatile memory cell in the semiconductor memory device according to the present invention is mainly constructed by a semiconductor layer, a gate insulating film, a gate electrode, a channel region, a diffusion region and a memory functional unit. Herein, the channel region is normally a region of the same conductive type as that of the semiconductor layer and denotes a region immediately below the gate electrode. The diffusion region denotes a region of the conductive type opposite to that of the channel region.

[0111] Concretely, the nonvolatile memory cell of the present invention may be constructed by a region of a first conductive type as a diffusion region, a region of a second conductive type as a channel region, a memory functional unit disposed across a border of the regions of the first and second conductive types, and an electrode provided via a gate insulating film. It is suitable that the nonvolatile memory cell of the present invention is constructed by a gate electrode formed on a gate insulating film, two memory functional units formed on both sides of the gate electrode, two diffusion regions disposed on the opposite sides of the gate electrode of the memory functional units, and a channel region disposed below the gate electrode. Hereinafter, the nonvolatile memory cell according to the present invention will be referred to as a sidewall memory cell.

[0112] In the semiconductor device of the present invention, the semiconductor layer is formed on the semiconductor substrate, preferably, on a well region of the first conductive type formed in the semiconductor substrate.

[0113] The semiconductor substrate is not particularly limited as long as it can be used for a semiconductor device, and an examples thereof include a bulk substrate made of an element semiconductor such as silicon, germanium or the like and a compound semiconductor such as silicon germanium, GaAs, InGaAs, ZnSe or GaN. As a substrate having a semiconductor layer on its surface, various substrates such as an SOI (Silicon on Insulator) substrate, an SOS substrate and a multilayer SOI substrate, or a glass or plastic substrate having thereon a semiconductor layer may be used. In particular, a silicon substrate and an SOI substrate having a semiconductor layer on its surface are preferable. The semiconductor substrate or semiconductor layer may be single crystal (formed by, for example, epitaxial growth), polycrystal, or amorphous although an amount of current flowing therein varies a little.

[0114] On the semiconductor layer, preferably, a device isolation region is formed. Further, a single layer or multilayer structure may be formed by a combination of devices such as a transistor, a capacitor and a resistor, a circuit formed by the devices, a semiconductor device, and an interlayer insulating film. The device isolation region can be formed by any of various device isolation films such as an LOCOS film, a trench oxide film and an STI film. The semiconductor layer may be of the P or N conductive type. In the semiconductor layer, preferably, at least one well region of the first conductive type (P or N type) is formed. As impurity concentration in the semiconductor layer and the well region, impurity concentration which is within a known range in this field can be used. In the case of using the SOI substrate as the semiconductor layer, the well region may be formed in the surface semiconductor layer and a body region may be provided below a channel region.

[0115] The gate insulating film is not particularly limited as long as it is usually used for a semiconductor device, and examples thereof include an insulating film such as a silicon oxide film or a silicon nitride film, and a high dielectric constant film such as an aluminum oxide film, a titanium oxide film, a tantalum oxide film or a hafnium oxide film, in the form of a single-layer or a laminated film. Particularly, a silicon oxide film is preferable. The gate insulating film has a thickness of, for example, about 1 to 20 nm, preferably, about 1 to 6 nm. The gate insulating film may be formed only immediately below the gate electrode or formed so as to be larger (wider) than the gate electrode.

[0116] The gate electrode is formed in a shape which is usually used for a semiconductor device or a shape having a recess in a lower end portion on the gate insulating film. The gate electrode is formed preferably in an integral form without being separated by a single-layered or multilayer conductive film. The gate electrode may be disposed in a state where it is separated by a single-layered or multilayer conductive film. The gate electrode may have a side-wall insulating film on its sidewalls. Usually, the gate electrode is not particularly limited as long as it is used for a semiconductor device, and examples of thereof includes a conductive film made of polysilicon, a metal such as copper or aluminum, a high-refractory metal such as tungsten, titanium or tantalum, and a silicide with the high refractory metal, in the form of a single-layer or multilayer film. Suitable thickness of the gate electrode is, for example, about 50 to 400 nm. Below the gate electrode, a channel region is formed.

[0117] Preferably, the gate electrode is formed only on the sidewalls of the memory functional unit or does not cover the top part of the memory functional unit. By such arrangement, a contact plug can be disposed closer to the gate electrode, so that reduction in the size of the memory cell is facilitated. It is easy to manufacture the sidewall memory cell having such simple arrangement, so that the yield in production can be improved.

[0118] The memory functional unit has at least the function of retaining charges (hereinafter, described as “charge retaining function”). In other words, the memory functional unit has the function of accumulating and retaining charges, the function of trapping charges or the function of holding a charge polarization state. The function is exhibited, for example, when the memory functional unit includes a film or region having the charge retaining function. Examples of elements having the above function include: silicon nitride; silicon; a silicate glass including impurity such as phosphorus or boron; silicon carbide; alumina; a high dielectric material such as hafnium oxide, zirconium oxide or tantalum oxide; zinc oxide; ferroelectric; metals, and the like. Therefore, the memory functional unit can be formed by, for example, a single-layered or laminated structure of: an insulating film including a silicon nitride film; an insulating film having therein a conductive film or a semiconductor layer; an insulating film including at least one conductor or semiconductor dot; or an insulating film including a ferroelectric film of which inner charge is polarized by an electric field and in which the polarized state is held. Particularly, the silicon nitride film is preferable for the reason that the silicon nitride film can obtain a large hysteretic characteristic since a number of levels of trapping charges exist. In addition, the charge retention time is long and a problem of charge leakage due to occurrence of a leak path does not occur, so that the retention characteristics are good. Further, silicon nitride is a material which is used as standard in an LSI process.

[0119] By using the insulating film including a film having the charge retaining function such as a silicon nitride film as the memory functional unit, reliability of storage and retention can be increased. Since the silicon nitride film is an insulator, even in the case where a charge leak occurs in part of the silicon nitride film, the charges in the whole silicon nitride film are not lost immediately. In the case of arranging a plurality of sidewall memory cells, even when the distance between the sidewall memory cells is shortened and neighboring memory cells come into contact with each other, unlike the case where the memory functional units are made of conductors, information stored in the memory functional units is not lost. Further, a contact plug can be disposed closer to the memory functional unit. In some cases, the contact plug can be disposed so as to be overlapped with the memory functional unit. Thus, reduction in size of the memory cell is facilitated.

[0120] In order to increase the reliability of storage and retention, the film having the charge retaining function does not always have to have a film. Preferably, films having the charge retaining function exist discretely in an insulating film. Concretely, it is preferable that the films having the charge retaining function in the shape of dots be spread in a material which is hard to retain charges, for example, in a silicon oxide.

[0121] In the case of using a conductive film or semiconductor layer as the charge retaining film, preferably, the conductive film or semiconductor layer is disposed via an insulating film so that the charge retaining film is not in direct contact with the semiconductor layer (semiconductor substrate, well region, body region, source/drain regions or diffusion region) or a gate electrode. For example, a laminated structure of the conductive film and the insulating film, a structure in which conductive films in the form of dots are spread in the insulating film, a structure in which the conductive film is disposed in a part of a sidewall insulating film formed on sidewalls of the gate, and the like can be mentioned.

[0122] It is preferable to use the insulating film having therein the conductive film or semiconductor layer as a memory functional unit for the reason that an amount of injecting charges into the conductor or semiconductor can be freely controlled and multilevel values can be easily obtained.

[0123] Further, it is preferable to use the insulating film including at least one conductor or semiconductor dot as the memory functional unit for the reason that it becomes easier to perform writing and erasing by direct tunneling of charges, and reduction in power consumption can be achieved.

[0124] Alternatively, as a memory functional unit, a ferroelectric film such as PZT or PLZT in which the polarization direction changes according to the electric field may be used. In this case, charges are substantially generated in the surface of the ferroelectric film by the polarization and are held in that state. It is therefore preferable since the ferroelectric film can obtain a hysteresis characteristic similar to that of a film to which charges are supplied from the outside of the film having the memory function and which traps charges. In addition, it is unnecessary to inject charges from the outside of the film in order to retain charges in the ferroelectric film, and the hysteresis characteristic can be obtained only by the polarization of the charge in the film, so that writing/erasing can be performed at high speed.

[0125] As the insulating film constructing the memory functional unit, a film having a region or function of suppressing escape of charges is suitable. An example of such a film includes a silicon oxide film.

[0126] The charge retaining film included in the memory functional unit is disposed on both sides of the gate electrode directly or via an insulating film, and is disposed on the. semiconductor layer (semiconductor substrate, well region, body region or source/drain region, or diffusion region) directly or via a gate insulating film. Preferably, the charge retaining film on both sides of the gate electrode is formed so as to cover all or part of the sidewalls of the gate electrode directly or via the insulating film. In an application example, in the case where the gate electrode has a recess in its lower end, the charge retaining film may be formed so as to completely or partially bury the recess directly or via an insulating film.

[0127] The diffusion regions can function as source and drain regions and have the conductive type opposite to that of the semiconductor layer or well region. In the junction, preferably, difference between impurity concentrations of the diffusion region and the semiconductor layer or well region is high for the reason that hot electrons or hot holes are generated efficiently with low voltage, and high-speed operation can be performed with lower voltage. The junction depth of the diffusion region is not particularly limited but can be appropriately adjusted in accordance with the performance or the like of a semiconductor memory device to be obtained. In the case of using an SOI substrate as a semiconductor substrate, the diffusion region may have a junction depth smaller than the thickness of the surface semiconductor layer. It is preferable that the diffusion region has junction depth almost the same as that of the surface semiconductor layer.

[0128] The diffusion region may be disposed so as to overlap with an end of the gate electrode, so as to match an end of the gate electrode, or so as to be offset from an end of the gate electrode. The case of offset is particularly preferable because easiness of inversion of the offset region below the charge retaining film largely changes in accordance with an amount of charges accumulated in the memory functional unit when voltage is applied to the gate electrode, the memory effect increases, and a short channel effect is reduced. However, when the diffusion region is offset too much, drive current between the diffusion regions (source and drain) decreases conspicuously. Therefore, it is preferable that the offset amount, that is, the distance to the diffusion area closer to one of the gate electrode ends in the gate length direction is shorter than the thickness of the charge retaining film extending in the direction parallel with the gate length direction. It is particularly important that at least a part of the film or region having the charge retaining function in the memory functional unit is overlapped with part of the diffusion region. This is because the essence of the memory cell as a component of the semiconductor memory device is to rewrite stored information by an electric field which is applied across the memory functional unit in accordance with the voltage difference between the gate electrode which exists only in the sidewall part of the memory functional unit and the diffusion region.

[0129] A part of the diffusion region may extend at a level higher than the surface of the channel region or the under face of the gate insulating film. In this case, it is suitable that, on the diffusion region formed in the semiconductor substrate, the conductive film integrated with the diffusion region is laminated. The conductive film may be made of semiconductor such as polysilicon or amorphous silicon, silicide, the above-described metals, high-refractory metals, or the like. In particular, polysilicon is preferred. Since impurity diffusion speed of polysilicon is much faster than that of the semiconductor layer, it is easy to make the junction depth of the diffusion region in the semiconductor layer shallow and to suppress the short channel effect. In this case, preferably, a part of the diffusion region is disposed so as to sandwich at least a part of the memory functional unit in cooperation with the gate electrode.

[0130] The sidewall memory cell can be formed by a normal semiconductor process, for example, a method similar to the method of forming the sidewall spacer having the single-layer or laminated structure on the sidewalls of the gate electrode. Concrete examples of the method include; a method of forming the gate electrode, after that, forming a single-layer film or laminated film including the charge retaining film such as a film having the function of retaining charges (hereinafter, described as “charge retaining film”), charge retaining film/insulating film, insulating film/charge retaining film, or insulating film/charge retaining film/insulating film, and etching back the formed film under suitable conditions so as to leave the films in a sidewall spacer shape; a method of forming an insulating film or charge retaining film, etching back the film under suitable conditions so as to leave the film in the sidewall spacer shape, further forming the charge retaining film or insulating film, and similarly etching back the film so as to leave the film in the sidewall spacer shape; a method of applying or depositing an insulating film material in which particles made of a charge retaining material are spread on the semiconductor layer including the gate electrode and etching back the material under suitable conditions so as to leave the insulating film material in a sidewall spacer shape; and a method of forming a gate electrode, after that, forming the single-layer film or laminated film, and patterning the film with a mask. According to another method, before the gate electrode is formed, charge retaining film, charge retaining film/insulating film, insulating film/charge retaining film, insulating film/charge retaining film/insulating film, or the like is formed. An opening is formed in a region which becomes the channel region of the films, a gate electrode material film is formed on the entire surface of the opening, and the gate electrode material film is patterned in a shape including the opening and larger than the opening, thereby forming the gate electrode and the memory functional unit.

[0131] One example of a method for forming the sidewall memory cell according to the present invention will now be described. First, the gate insulating film and the gate electrode are formed on the semiconductor substrate in accordance with known procedures. Subsequently, a silicon oxide film having a thickness of 0.8 to 20 nm, more preferably 3 to 10 nm is formed by thermal oxidation or deposited by CVD (Chemical Vapor Deposition) over the entire semiconductor substrate. Next, a silicon nitride film having a thickness of 2 to 15 nm, more preferably 3 to 10 nm is deposited by the CVD over the entire silicon oxide film. Moreover, another silicon oxide film having a thickness of 20 to 70 nm is deposited by the CVD over the entire silicon nitride film.

[0132] Subsequently, the silicon oxide film/silicon nitride film/silicon oxide film are etched back by anisotropic etching, thereby forming the memory functional unit optimum for storing data on the sidewall of the gate electrode in the form of a sidewall spacer.

[0133] Thereafter, ions are injected while using the gate electrode and the memory functional unit in the form of the sidewall spacer as masks, thereby forming a diffusion layer region (source/drain region). After that, a silicide process or an upper wiring process may be performed in accordance with known procedures.

[0134] In the case of constructing the memory cell array by arranging sidewall memory cells, the best mode of the sidewall memory cell satisfies all of the requirements: for example, (1) the gate electrodes of a plurality of sidewall memory cells are integrated and have the function of a word line; (2) the memory functional units are formed on both sides of the word line; (3) an insulator, particularly, a silicon nitride film retains charges in the memory functional unit; (4) the memory functional unit is constructed by an ONO (Oxide Nitride Oxide) film and the silicon nitride film has a surface almost parallel with the surface of the gate insulating film; (5) a silicon nitride film in the memory functional unit is isolated from a word line and a channel region via a silicon oxide film; (6) the silicon nitride film and a diffusion region in the memory functional unit are overlapped; (7) the thickness of the insulating film separating the silicon nitride film having the surface which is almost parallel with the surface of the gate insulating film from the channel region or semiconductor layer and the thickness of the gate insulating film are different from each other; (8) an operation of writing/erasing one sidewall memory cell is performed by a single word line; (9) there is no electrode (word line) having the function of assisting the writing/erasing operation on the memory functional unit; and (10) in a portion in contact with the diffusion region immediately below the memory functional unit, a region of high concentration of impurity whose conductive type is opposite to that of the diffusion region is provided. It is sufficient for the memory cell to satisfy even one of the requirements.

[0135] A particularly preferable combination of the requirements is, for example, (3) an insulator, particularly, a silicon nitride film retains charges in the memory functional unit, (6) the insulating film (silicon nitride film) and the diffusion region in the memory functional unit are overlapped, and (9) there is no electrode (word line) having the function of assisting the writing/erasing operation on the memory functional unit.

[0136] In the case where the sidewall memory cell satisfies the requirements (3) and (9), it is very useful for the following reasons. First, the bit line contact can be disposed closer to the memory functional unit on the word line sidewall or even when the distance between sidewall memory cells is shortened, a plurality of memory functional units do not interfere with each other, and stored information can be held. Therefore, reduction in size of the memory cell is facilitated. In the case where the charge retaining region in the memory functional unit is made of a conductor, as the distance between sidewall memory cells decreases, interference occurs between the charge retaining regions due to capacitive coupling, so that stored information cannot be held.

[0137] In the case where the charge retaining region in the memory functional unit is made of an insulator (for example, a silicon nitride film), it becomes unnecessary to make the memory functional unit independent for each sidewall memory cell. For example, the memory functional units formed on both sides of a single word line shared by a plurality of memory cells do not have to be isolated for each sidewall memory cell. The memory functional units formed on both sides of one word line can be shared by a plurality of sidewall memory cells sharing the word line. Consequently, a photo etching process for isolating the memory functional unit becomes unnecessary, and the manufacturing process is simplified. Further, a margin for positioning in the photolithography process and a margin for film reduction by etching become unnecessary, so that the margin between neighboring sidewall memory cells can be reduced. Therefore, as compared with the case where the charge retaining region in the memory functional unit is made of a conductor (for example, polysilicon film), even when the memory functional unit is formed at the same microfabrication level, a sidewall memory cell occupied area can be reduced. In the case where the charge retaining region in the memory functional unit is made of a conductor, the photo etching process for isolating the memory functional unit for each sidewall memory cell is necessary, and a margin for positioning in the photolithography process and a margin for film reduction by etching are necessary.

[0138] Moreover, since the electrode having the function of assisting the writing and erasing operations does not exist on the memory functional unit and the device structure is simple, the number of processes decreases, so that the yield in productin can be increased. Therefore, it facilitates formation with a transistor as a component of a logic circuit or an analog circuit, and a cheap semiconductor memory device can be obtained.

[0139] The present invention is more useful in the case where not only the requirements (3) and (9) but also the requirement (6) are satisfied.

[0140] Specifically, by overlapping the charge retaining region in the memory functional unit and the diffusion region, writing and erasing can be performed with a very low voltage. Concretely, with a low voltage of 5 V or less, the writing and erasing operations can be performed. The action is a very large effect also from the viewpoint of circuit designing. Since it is unnecessary to generate a high voltage in a chip unlike a flash memory, a charge pumping circuit requiring a large occupation area can be omitted or its scale can be reduced. Particularly, when a memory of small-scale capacity is provided for adjustment in a logic LSI, as for an occupied area in a memory part, an occupation area of peripheral circuits for driving a sidewall memory cell is dominant more than that of a sidewall memory cell. Consequently, omission or down sizing of the voltage boosting circuit for a sidewall memory cell is most effective to reduce the chip size.

[0141] On the other hand, in the case where the requirement (3) is not satisfied, that is, in the case where a conductor retains charges in the memory functional unit, even when the requirement (6) is not satisfied, specifically, even when the conductor in the memory functional unit and the diffusion region do not overlap with each other, writing operation can be performed. This is because that the conductor in the memory functional unit assists writing operation by capacitive coupling with the gate electrode.

[0142] In the case where the requirement (9) is not satisfied, specifically, in the case where the electrode having the function of assisting the writing and erasing operations exists on the memory functional unit, even when the requirement (6) is not satisfied, specifically, even when the insulator in the memory functional unit and the diffusion region do not overlap with each other, writing operation can be performed.

[0143] In the semiconductor memory device of the present invention, a transistor may be connected in series with one of or both sides of a sidewall memory cell, or the sidewall memory cell may be mounted on the same chip with a logic transistor. In such a case, the semiconductor device of the present invention, particularly, the sidewall memory cell can be formed by a process having high compatibility with a process of forming a normal standard transistor such as a transistor or a logic transistor, they can be formed simultaneously. Therefore, a process of forming both the sidewall memory cell and a transistor or a logic transistor is very simple and, as a result, a cheap embedded device can be obtained.

[0144] In the semiconductor memory device of the present invention, the sidewall memory cell can store information of two or more values in one memory functional unit. Thus, the sidewall memory cell can function as a memory cell for storing information of four or more values. The sidewall memory cell may store binary data only. The sidewall memory cell is also allowed to function as a memory cell having the functions of both a selection transistor and a memory transistor by a variable resistance effect of the memory functional unit.

[0145] The semiconductor memory device of the present invention can be widely applied by being combined with a logic device, a logic circuit or the like to: a data processing system such as a personal computer, a note-sized computer, a laptop computer, a personal assistant/transmitter, a mini computer, a workstation, a main frame, a multiprocessor/computer, a computer system of any other type, or the like; an electronic part as a component of the data processing system, such as a CPU, a memory or a data memory device; a communication apparatus such as a telephone, a PHS, a modem or a router; an image display apparatus such as a display panel or a projector; an office apparatus such as a printer, a scanner or a copier; an image pickup apparatus such as a video camera or a digital camera; an entertainment apparatus such as a game machine or a music player; an information apparatus such as a portable information terminal, a watch or an electronic dictionary; a vehicle-mounted apparatus such as a car navigation system or a car audio system; an AV apparatus for recording/reproducing information such as a motion picture, a still picture or music; an appliance such as a washing machine, a microwave, a refrigerator, a rice cooker, a dish washer, a vacuum cleaner or an air conditioner; a health managing apparatus such as a massage device, a bathroom scale or a manometer; and a portable memory device such as an IC card or a memory card. Particularly, it is effective to apply the semiconductor memory device to portable electronic apparatuses such as portable telephone, portable information terminal, IC card, memory card, portable computer, portable game machine, digital camera, portable motion picture player, portable music player, electronic dictionary and watch. The semiconductor memory device of the present invention may be provided as at least a part of a control circuit or a data storing circuit of an electronic device or, as necessary, detachably assembled.

Description of the Preferred Embodiments

[0146] Hereinafter, embodiments of the semiconductor memory device, the display device and the portable electronic apparatus of the present invention will be described in detail with reference to the drawings.

First Embodiment

[0147] A semiconductor memory device of a first embodiment has a sidewall memory cell 1 as shown in FIG. 1.

[0148] The sidewall memory cell 1 has a gate electrode 104 formed on a P-type well region 102 formed on the surface of a semiconductor substrate 101 via a gate insulating film 103. On the top face and side faces of the gate electrode 104, a silicon nitride film 109 having a trap level of retaining charges and serving as a charge retaining film is disposed. In the silicon nitride film 109, parts of both sidewalls of the gate electrode 104 serve as memory functional units 105 a and 105 b for actually retaining charges. The memory functional unit refers to a part in which charges are actually accumulated by rewriting operation in the memory functional unit or the charge retaining film. In the P-type well region 102 on both sides of the gate electrode 104, N-type diffusion regions 107 a and 107 b functioning as a source region and a-drain region, respectively, are formed. Each of the diffusion regions 107 a and 107 b has an offset structure. Specifically, the diffusion regions 107 a and 107 b do not reach a region 121 below the gate electrode 104, and offset regions 120 below the charge retaining film construct part of the channel region.

[0149] The memory functional units 105 a and 105 b for substantially retaining charges are the parts on both sidewalls of the gate electrode 104. It is therefore sufficient that the silicon nitride film 109 is formed only in regions corresponding to the parts (see FIG. 2(a)). Each of the memory functional units 105 a and 105 b may have a structure in which fine particles 111 each made of a conductor or semiconductor and having a nanometer size are distributed like discrete points in an insulating film 112 (see FIG. 2(b)). When the fine particle 111 has a size less than 1 nm, a quantum effect is too large, so that it becomes hard for charges to go(tunnel) to the dots. When the size exceeds 10 nm, a conspicuous quantum effect does not appear at room temperature. Therefore, the diameter of the fine particle 111 is preferably in a range from 1 nm to 10 nm. The silicon nitride film 109 serving as a charge retaining film may be formed in a sidewall spacer shape on a side face of the gate electrode (see FIG. 3).

[0150] The principle of the writing operation of the sidewall memory cell will be described with reference to FIGS. 3 and 4. The case where whole memory functional units 131 a and 131 b have the function of retaining charges will be described. “Writing” denotes herein injection of electrons into the memory functional units 131 a and 131 b when the sidewall memory cell is of the N channel type. Hereinafter, on assumption that the sidewall memory cell is of the N channel type, description will be given.

[0151] In order to inject electrons (write) the second memory functional unit 131 b, as shown in FIG. 3, the first diffusion region 107 a of the N type is set as a source electrode, and the second diffusion region 107 b of the N type is set as a drain electrode. For example, 0 V is applied to the first diffusion region 107 a and the P-type well region 102, +5 V is applied to the second diffusion region 107 b, and +5 V is applied to the gate electrode 104. Under such voltage parameters, an inversion layer 226 extends from the first diffusion region 107 a (source electrode) but does not reach the second diffusion region 107 b (drain electrode), and a pinch off point occurs. Electrons are accelerated from the pinch-off point to the second diffusion region 107 b (drain electrode) by a high electric field, and become so-called hot electrons (high-energy conduction electrons). By injection of the hot electrons into the second memory functional unit 131 b, writing is performed. Since hot electrons are not generated in the vicinity of the first memory functional unit 131 a, writing is not performed.

[0152] On the other hand, in order to inject electrons (write) into the first memory functional unit 131 a, as shown in FIG. 4, the second diffusion region 107 a is set as the source electrode, and the first diffusion region 107 a is set as the drain electrode. For example, 0 V is applied to the second diffusion region 107 b and the P-type well region 102, +5 V is applied to the first diffusion region 107 a, and +5 V is applied to the gate electrode 104. By interchanging the source and drain regions so as to be different from the case of injecting electrons into the second memory functional unit 131 b, electrons are injected into the first memory functional unit 131 a and writing can be performed.

[0153] The principle of erasing operation of the sidewall memory cell will now be described with reference to FIGS. 5 and 6.

[0154] In a first method of erasing information stored in the first memory functional unit 131 a, by applying positive voltage (for example, +5 V) to the first diffusion region 107 a and applying 0 V to the P-type well region 102 as shown in FIG. 5, the PN junction between the first diffusion region 107 a and the P-type well region 102 is reverse-biased and, further, negative voltage (for example, (5 V) is applied to the gate electrode 104. At this time, in the vicinity of the gate electrode 104 in the PN junction, due to the influence of the gate electrode to which the negative voltage is applied, particularly, gradient of potential becomes sharp. Consequently, hot holes (positive holes of high energy) are generated on the side of the P-type well region 102 of the PN junction by interband tunneling. The hot holes are attracted toward the gate electrode 104 having a negative potential and, as a result, the holes are injected to the first memory functional unit 131 a. In such a manner, information in the first memory functional unit 131 a is erased. At this time, to the second diffusion region 107 b, it is sufficient to apply 0 V.

[0155] In the case of erasing information stored in the second memory functional unit 131 b, the above-described operation is performed while interchanging the potential of the first diffusion region and that of the second diffusion region.

[0156] In a second method of erasing information stored in the first memory functional unit 131 a, as shown in FIG. 6, positive voltage (for example, +4 V) is applied to the first diffusion region 107 a, 0 V is applied to the second diffusion region 107 b, negative voltage (for example, −4 V) is applied to the gate electrode 104, and positive voltage (for example, +0.8 V) is applied to the P-type well region 102. At this time, forward voltage is applied between the P-type well region 102 and the second diffusion region 107 b, and electrons are injected to the P-type well region 102. The injected electrons are diffused to the PN junction between the P-type well region 102 and the first diffusion region 107 a, where the electrons are accelerated by a strong electric field, thereby becoming hot electrons. By the hot electrons, an electron-hole pair is generated in the PN junction. Specifically, by applying forward voltage between the P-type well region 102 and the second diffusion region 107 b, electrons injected in the P-type well region 102 become a trigger, and hot holes are generated in the PN junction positioned on the opposite side. The hot holes generated in the PN junction are attracted toward the gate electrode 104 having the negative potential and, as a result, positive holes are injected into the first memory functional unit 131 a.

[0157] According to the method, also in the case where only voltage insufficient to generate hot holes by interband tunneling is applied to the PN junction between the P-type well region and the first diffusion region 107 a, electrons injected from the second diffusion region 107 b become a trigger to generate an electron-positive hole pair in the PN junction, thereby enabling hot holes to be generated. Therefore, voltage in the erasing operation can be decreased. Particularly, in the case where the offset region 120 (see FIG. 1) exists, an effect that the gradient of potential in the PN junction becomes sharp by the gate electrode to which the negative potential is applied is low. Consequently, although it is difficult to generate hot holes by interband tunneling, by the second method, the disadvantage is overcome and the erasing operation can realized with low voltage.

[0158] In the case of erasing information stored in the first memory functional unit 131 a, +5 V has to be applied to the first diffusion region 107 a in the first erasing method whereas +4 V is sufficient in the second erasing method. As described above, according to the second method, the voltage at the time of erasing can be decreased, so that power consumption can be reduced and deterioration of the sidewall memory cell due to hot carriers can be suppressed.

[0159] In any of the erasing methods, over-erasure does not occur easily in the sidewall memory cell. The over-erasure herein denotes a phenomenon that as the amount of positive holes accumulated in the memory functional unit increases, the threshold decreases without saturation. The over-erasure is a big issue in an EEPROM typified by a flash memory. Particularly, in the case where the threshold becomes negative, critical malfunctioning that selection of a sidewall memory cell becomes impossible occurs. On the other hand, in the sidewall memory cell in the semiconductor memory device of the present invention, also in the case where a large amount of positive holes are accumulated in the memory functional unit, only electrons are induced below the memory functional unit but an influence is hardly exerted to the potential in the channel region below the gate insulating film. Since the threshold at the time of erasing is determined by the potential below the gate insulating film, occurrence of over-erasure is suppressed.

[0160] Further, the principle of reading operation of the sidewall memory cell will be described with reference to FIG. 7.

[0161] In the case of reading information stored in the first memory functional unit 131 a, the first diffusion region 107 a is set as a source electrode, the second diffusion region 107 b is set as a drain electrode, and the transistor is allowed to operate in a saturated region. For example, 0 V is applied to the first diffusion region 107 a and the P-type well region 102, +1.8 V is applied to the second diffusion region 107 b, and +2 V is applied to the gate electrode 104. In the case where electrons are not accumulated in the first memory functional unit 131 a at this time, drain current is apt to flow. On the other hand, in the case where electrons are accumulated in the first memory functional unit 131 a, an inversion layer is not easily formed in the vicinity of the first memory functional unit 131 a, so that the drain current is not apt to flow. Therefore, by detecting the drain current, information stored in the first memory functional unit 131 a can be read. In the case of applying a voltage so as to perform the pinch-off operation, thereby reading information, it is possible to determine with higher accuracy the state of charge accumulation in the first memory functional unit 131 a without influence of the presence/absence of charge accumulation in the second memory functional unit 131 b. The presence/absence of charge accumulation in the second memory functional unit 131 b does not exert an influence on the drain current since the pinch-off point occurs in the vicinity of the drain.

[0162] In the case of reading information stored in the second memory functional unit 131 b, the second diffusion region 107 b is set as a source electrode, the first diffusion region 107 a is set as a drain electrode, and the transistor is operated in a saturated region. It is sufficient to apply, for example, 0V to the second diffusion region 107 b and the P-type well region 102, +1.8 V to the first diffusion region 107 a, and +2 V to the gate electrode 104. By interchanging the source and drain regions of the case of reading information stored in the first memory functional unit 131 a, information stored in the second memory functional unit 131 b can be read.

[0163] In the case where a channel region (offset region 120) which is not covered with the gate electrode 104 remains, in the channel region which is not covered with the gate electrode 104, an inversion layer is dissipated or formed according to the presence/absence of excessive charges in the memory functional units 131 a and 131 b and, as a result, large hysteresis (change in the threshold) is obtained. However, when the offset region 120 is too wide, the drain current largely decreases and reading speed becomes much slower. Therefore, it is preferable to determine the width of the offset region 120 so as to obtain sufficient hysteresis and reading speed.

[0164] Also in the case where the diffusion regions 107 a and 107 b reach ends of the gate electrode 104, that is, the diffusion regions 107 a and 107 b overlap with the gate electrode 104, the threshold of the transistor hardly changes by the writing operation. However, parasitic resistance at the source/drain ends largely changes, and the drain current largely decreases (by equal to or more than one digit). Therefore, reading can be performed by detecting the drain current, and the function as a memory can be obtained. In the case where a larger memory hysteresis effect is necessary, it is preferable that the diffusion regions 107 a and 107 b and the gate electrode 104 are not overlapped (offset region 120 exists).

[0165] By the above operating method, two bits can be written/erased selectively per one transistor. By connecting a word line WL to the gate electrode 104 of the memory cell, connecting a first bit line BL1 to the first diffusion region 107 a, connecting a second bit line BL2 to the second diffusion region 107 b, and arranging memory cells, a memory cell array can be constructed.

[0166] In the above-described operating method, by interchanging the source electrode and the drain electrode, writing and erasing of two bits per one transistor are performed. Alternately, by fixing the source electrode and the drain electrode, the transistor may operate as a 1-bit memory. In this case, common fixed voltage can be applied to one of the source and drain regions, so that the number of bit lines connected to the source/drain regions can be reduced to the half.

[0167] As obvious from the above description, in the sidewall memory cell in the semiconductor memory device of the present invention, the memory functional unit is formed independently of the gate insulating film, and is formed on both sides of the gate electrode, so that 2-bit operation is possible. Since each memory functional unit is isolated by the gate electrode, interference at the time of rewriting is effectively suppressed. Further, since the gate insulating film is isolated from the memory functional unit, it can be formed thinly and a short channel effect can be suppressed. Therefore, reduction in size of the memory cell and, accordingly, the semiconductor memory device can be achieved easily.

Second Embodiment

[0168] A sidewall memory cell in a semiconductor memory device according to a second embodiment has a configuration substantially similar to that of the sidewall memory cell 1 of FIG. 1 except that, as shown in FIG. 8, each of memory functional units 261 and 262 is constructed by a charge retaining region (which is a charge accumulating region and may be a film having the function of retaining charges) and a region for suppressing escape of charges (or a film having the function of suppressing escape of charges).

[0169] From the viewpoint of improving a memory retention characteristic, preferably, the memory functional unit includes a charge retaining film having the function of retaining charges and an insulating film. In the second embodiment, a silicon nitride film 242 having a level of trapping charges is used as the charge retaining film, and silicon oxide films 241 and 243 having the function of preventing dissipation of charges accumulated in the charge retaining are used as insulating films. The memory functional unit includes the charge retaining film and the insulating films, thereby preventing dissipation of charges, and the retention characteristic can be improved. As compared with the case where the memory functional unit is constructed only by the charge retaining film, the volume of the charge retaining film is appropriately reduced, movement of charges in the charge retaining film is regulated, and occurrence of a characteristic change due to charge movement during-retention of information is suppressed. Further, by employing the structure in which the silicon nitride film 242 is sandwiched by the silicon oxide films 241 and 243, charge injecting efficiency at the time of rewriting operation becomes high, so that higher-speed operation can be performed. In the sidewall memory cell, the silicon nitride film 242 may be replaced with a ferroelectric.

[0170] The regions for retaining charges (silicon nitride films 242) in the memory functional units 261 and 262 overlap with diffusion regions 212 and 213. The overlap denotes herein that at least a part of the region for retaining charges (silicon nitride film 242) exists over at least a part of the diffusion regions 212 and 213. A reference numeral 211 denotes a semiconductor substrate, a reference numeral 214 denotes a gate insulating film, a reference numeral 217 denotes a gate electrode, and a reference numeral 271 indicates an offset region between the gate electrode 217 and the diffusion regions 212 and 213. Although not shown, the surface of the semiconductor substrate 211 under the gate insulating film 214 serves as a channel region.

[0171] An effect obtained when the silicon nitride films 242 as regions for retaining charges in the memory functional units 261 and 262 overlap with the diffusion regions 212 and 213 will be described.

[0172] As shown in FIG. 9, in an area around the memory functional unit 262, when an offset amount between the gate electrode 217 and the diffusion region 213 is W1 and the width of the memory functional unit 262 in a cross section in the channel length direction of the gate electrode is W2, the overlap amount between the memory functional unit 262 and the diffusion region 213 is expressed as W2-W1. It is important herein that the silicon oxide film 242 in the memory functional unit 262 overlaps with the diffusion region 213, that is, the relation of W2>W1 is satisfied.

[0173] In FIG. 9, an end on the side apart from the gate electrode 217 of the silicon nitride film 242 in the memory functional unit 262 matches with the end of the memory functional unit 262 on the side apart from the gate electrode 217, so that the width of the memory functional unit 262 is defined as W2.

[0174] As shown in FIG. 10, when the end on the side apart from the gate electrode of a silicon nitride film 242 a in a memory functional unit 262 a does not match with the end of the memory functional unit 262 a on the side apart from the gate electrode, W2 may be defined as a distance from the gate electrode end to an end on the side apart from the gate electrode of the silicon nitride film 242 a.

[0175]FIG. 11 shows drain current Id when the width W2 of the memory functional unit 262 is fixed to 100 nm and the offset amount W1 is changed in the structure of the sidewall memory cell of FIG. 9. Herein, the drain current was obtained by device simulation on assumption that the memory functional unit 262 is in erasing state (holes are accumulated), and the diffusion regions 212 and 213 serve as the source electrode and the drain electrode, respectively.

[0176] As obvious from FIG. 11, in the range where W1 is 100 nm or more (that is, the silicon nitride film 242 and the diffusion region 213 do not overlap with each other), the drain current sharply decreases. Since the drain current value is almost proportional to the reading operation speed, the performance of the memory sharply deteriorates with W1 of 100 nm or more. On the other hand, in the range where the silicon nitride film 242 and the diffusion region 213 overlap with each other, decrease in the drain current is gentle. Therefore, in the case of considering also variations in mass production, if at least a part of the silicon nitride film 242 as the film having the function of retaining charges does not overlap with the source and drain regions, it is difficult to obtain the memory function in reality.

[0177] On the basis of the result of the device simulation, by fixing W2 to 100 nm and setting W1 to 60 nm and 100 nm as design values, sidewall memory cell arrays were produced. In the case where W1 is 60 nm, the silicon nitride film 242 and the diffusion regions 212 and 213 overlap with each other by 40 nm as a design value. In the case where W1 is 100 nm, there is no overlap as a design value. Reading time of the sidewall memory cell arrays was measured and worst cases considering variations were compared with each other. In the where W1 is set to 60 nm as a design value, read access time is 100 times as fast as that of the other case. In practice, the read access time is preferably 100 n/sec or less per one bit. When W1=W2, the condition cannot be achieved. In the case of considering manufacture variations as well, it is more preferable that (W2−W1)>10 nm.

[0178] To read information stored in the memory functional unit 261 (region 281), in a manner similar to the first embodiment, it is preferable to set the diffusion region 212 as a source electrode, set the diffusion region 213 as a drain region, and form a pinch-off point on the side closer to the drain region in the channel region. Specifically, at the time of reading information stored in one of the two memory functional units, it is preferable to form the pinch-off point in a region closer to the other memory functional unit, in the channel region. With the arrangement, irrespective of a storage state of the memory functional unit 262, information stored in the memory functional unit 261 can be detected with high sensitivity, and it is a large factor to achieve 2-bit operation.

[0179] On the other hand, in the case of storing information only one of two memory functional units or in the case of using the two memory functional units in the same storage state, it is not always necessary to form the pinch-off point at the time of reading.

[0180] Although not shown in FIG. 8, it is preferable to form a well region (P-type well in the case of the N channel device) in the surface of the semiconductor substrate 211. By forming the well region, it becomes easy to control the other electric characteristics (withstand voltage, junction capacitance and short-channel effect) while setting the impurity concentration in the channel region optimum to the memory operations (rewriting operation and reading operation).

[0181] The memory functional unit preferably includes the charge retaining film disposed almost in parallel with the gate insulating film surface. In other words, it is preferable that the level of the top face of the charge retaining film in the memory functional unit is positioned parallel to the level of the top face of the gate insulating film. Concretely, as shown in FIG. 12, the silicon nitride film 242 a as a charge retaining film of the memory functional unit 262 has a surface almost parallel with the surface of the gate insulating film 214. In other words, it is preferable that the silicon nitride film 242 a is formed at a level parallel to the level corresponding to the surface of the gate insulating film 214.

[0182] By the existence of the silicon nitride film 242 a almost parallel to the surface of the gate insulating film 214 in the memory functional unit 262, formation easiness of the inversion layer in the offset region 271 can be effectively controlled in accordance with an amount of charges accumulated in the silicon nitride film 242 a. Thus, the memory effect can be increased. By forming the silicon nitride film 242 a almost in parallel with the surface of the gate insulating film 214, even in the case where the offset amount (W1) varies, a change in the memory effect can be maintained relatively small, and variations of the memory effect can be suppressed. Moreover, movement of the charges upward in the silicon nitride film 242 a is suppressed, and occurrence of a characteristic change due to the charge movement during retention of information can be suppressed.

[0183] Preferably, the memory functional unit 262 includes an insulating film (for example, portion on the offset region 271 in the silicon oxide film 244) for separating the silicon nitride film 242 a which is almost parallel to the surface of the gate insulating film 214 and the channel region (or well region). By the insulating film, dissipation of the charges accumulated in the charge retaining film is suppressed and a sidewall memory cell having a better retention characteristic can be obtained.

[0184] By controlling the thickness of the silicon nitride film 242 a and controlling the thickness of the insulating film below the silicon nitride film 242 a (portion on the offset region 271 in the silicon oxide film 244) to be constant, the distance from the surface of the semiconductor substrate to charges accumulated in the charge retaining film can be maintained almost constant. To be specific, the distance from the surface of the semiconductor substrate to the charges accumulated in the charge retaining film can be controlled in a range from the minimum thickness value of the insulating film under the silicon nitride film 242 a to the sum of the maximum thickness value of the insulating film under the silicon nitride film 242 a and the maximum thickness value of the silicon nitride film 242 a. Consequently, density of electric lines of force generated by the charges accumulated in the silicon nitride film 242 a can be almost controlled, and variations in the memory effect of the sidewall memory cell can be reduced very much.

Third Embodiment

[0185] The memory functional unit 262 in a semiconductor memory device of a third embodiment has a shape in which the silicon nitride film 242 as a charge retaining film has almost uniform thickness and is disposed almost in parallel with the surface of the gate insulating film 214 as shown in FIG. 13 (region 281) and, further, almost in-parallel with a side face of the gate electrode 217 (region 282).

[0186] In the case where positive voltage is applied to the gate electrode 217, an electric line 283 of force in the memory functional unit 262 passes the silicon nitride film 242 twice (regions 282 and 281) as shown by an arrow. When negative voltage is applied to the gate electrode 217, the direction of the electric line of force becomes opposite. Herein, the dielectric constant of the silicon nitride film 242 is about 6, and that of silicon oxide films 241 and 243 is about 4. Therefore, effective dielectric constant of the memory functional unit 262 in the direction of the electric line 283 of force is higher and the potential difference at both ends of the electric line of force can be reduced more as compared with the case where only the region 281 of the charge retaining film exists. In other words, a large part of the voltage applied to the gate electrode 217 is used to enhance the electric field in the offset region 271.

[0187] The reason why charges are injected to the silicon nitride film 242 in the rewriting operation is because generated charges are attracted by the electric field in the offset region 271. Therefore, by including the charge retaining film shown by the arrow 282, charges injected into the memory functional unit 262 increase in the rewriting operation, and the rewriting speed increases.

[0188] In the case where the portion of the silicon oxide film 243 is also the silicon nitride film, that is, in the case where the level of the charge retaining film is not parallel with the level corresponding to the surface of the gate insulating film 214, upward movement of charges in the silicon nitride film becomes conspicuous, and the retention characteristic deteriorates.

[0189] More preferably, in place of the silicon nitride film, the charge retaining film is made of a high dielectric such as hafnium oxide having a very high dielectric constant.

[0190] It is preferable that the memory functional unit further includes an insulating film (portion on the offset region 271 in the silicon oxide film 241) for separating the charge retaining film almost parallel to the surface of the gate insulating film and the channel region (or well region). By the insulating film, dissipation of charges accumulated in the charge retaining film is suppressed, and the retention characteristic can be further improved.

[0191] Preferably, the memory functional unit further includes an insulating film (portion in contact with the gate electrode 217 in the silicon oxide film 241) for separating the gate electrode and the charge retaining film extended almost parallel with the side face of the gate electrode. The insulating film prevents injection of charges from the gate electrode into the charge retaining film and accordingly prevents a change in the electric characteristics. Thus, the reliability of the sidewall memory cell can be improved.

[0192] Further, in a manner similar to the second embodiment, it is preferable to control the thickness of the insulating film under the silicon nitride film 242 (portion on the offset region 271 in the silicon oxide film 241) to be constant and to control the thickness of the insulating film on the side face of the gate electrode (portion in contact with the gate electrode 217 in the silicon oxide film 241) to be constant. Consequently, the density of the electric lines of force generated by the charges accumulated in the silicon nitride film 242 can be almost controlled, and charge leak can be prevented.

Fourth Embodiment

[0193] In a fourth embodiment, optimization of the gate electrode, the memory functional unit, and the distance between the source and drain regions of a sidewall memory cell in a semiconductor memory device will be described.

[0194] As shown in FIG. 14, a reference character A denotes length of the gate electrode in a cut surface in the channel length direction, a reference character B denotes the distance between the source and drain regions (channel length), and a reference character C denotes the distance from the end of one of memory functional units to the end of the other memory functional unit, that is, the distance between the end (on the side far from the gate electrode) of a film having the function of retaining charges in one of memory functional units to the end (on the side apart from the gate electrode) of a film having the function of retaining charges in the other memory functional unit in a cut surface in the channel length direction.

[0195] In such a sidewall memory cell, B<C is preferable. By satisfying such a relation, the offset regions 271 exist between the portion under the gate electrode 217 in the channel region and the diffusion regions 212 and 213. Consequently, easiness of inversion effectively fluctuates in the whole offset regions 271 by charges accumulated in the memory functional units 261 and 262 (silicon nitride films 242). Therefore, the memory effect increases and, particularly, higher-speed reading operation is realized.

[0196] In the case where the gate electrode 217 and the diffusion regions 212 and 213 are offset from each other, that is, in the case where the relation of A<B is satisfied, easiness of inversion in the offset region when voltage is applied to the gate electrode largely varies according to an amount of charges accumulated in the memory functional unit, so that the memory effect increases, and the short channel effect can be reduced.

[0197] However, as long as the memory effect appears, the offset region 271 does not always have to exist. Also in the case where the offset region 271 does not exist, if the impurity concentration in the diffusion regions 212 and 213 is sufficiently low, the memory effect can be exhibited in the memory functional units 261 and 262 (silicon nitride films 242).

[0198] Therefore, A<B<C is the most preferable.

Fifth Embodiment

[0199] A sidewall memory cell of a semiconductor memory device in a fifth embodiment has a substantially similar configuration to that of the second embodiment except that an SOI substrate is used as the semiconductor substrate in the second embodiment as shown in FIG. 15.

[0200] In the sidewall memory cell, a buried oxide film 288 is formed on a semiconductor substrate 286, and an SOI layer is formed on the buried oxide film 288. In the SOI layer, the diffusion regions 212 and 213 are formed and the other region is a body region 287.

[0201] By the sidewall memory cell as well, action and effect similar to those of the sidewall memory cell of the second embodiment are obtained. Further, junction capacitance between the diffusion regions 212 and 213 and the body region 287 can be remarkably reduced, so that higher-speed operation and lower power consumption of the device can be achieved.

Sixth Embodiment

[0202] A sidewall memory cell in a semiconductor memory device in a sixth embodiment has, as shown in FIG. 16, a configuration substantially similar to that of the sidewall memory cell of the second embodiment except that a P-type high-concentration region 291 is added adjacent to the channel sides of the N-type diffusion regions 212 and 213.

[0203] Specifically, the concentration of a P-type impurity (for example, boron) in the P-type high-concentration region 291 is higher than that of a P-type impurity in a region 292. Suitable P-type impurity concentration in the P-type high-concentration region 291 is, for example, about 5×10¹⁷ to 1×10¹⁹ cm⁻³. The P-type impurity concentration of the region 292 can be set to, for example, 5×10¹⁶ to 1×10 ¹⁸ cm⁻³.

[0204] By providing the P-type high-concentration region 291, the junction between the diffusion regions 212 and 213 and the semiconductor substrate 211 becomes sharp below the memory functional units 261 and 262. Consequently, hot carriers are easily generated in the writing and erasing operations, the voltage of the writing and erasing operations can be decreased or the writing operation and the erasing operation can be performed at high speed. Moreover, since the impurity concentration in the region 292 is relatively low, the threshold when the memory is in the erasing state is low, and the drain current is large. Consequently, the reading speed is improved. Therefore, the sidewall memory cell with low rewriting voltage or high rewriting speed and high reading speed can be obtained.

[0205] In FIG. 16, by providing the P-type high-concentration region 291 in the vicinity of the source/drain regions and below the memory functional unit (that is, not immediately below the gate electrode), the threshold of the whole transistor remarkably increases. The degree of increase is much higher than that in the case where the P-type high-concentration region 291 is positioned immediately below the gate electrode. In the case where write charges (electrons when the transistor is of the N-channel type) are accumulated in the memory functional unit, the difference becomes larger. On the other hand, in the case where sufficient erasing charges (positive holes when the transistor is of the N-channel type) are accumulated in the memory functional unit, the threshold of the whole transistor decreases to a threshold determined by the impurity concentration in the channel region (region 292) below the gate electrode. That is, the threshold in the erasing operation does not depend on the impurity concentration of the P-type high-concentration region 291 whereas the threshold in the writing operation is largely influenced. Therefore, by disposing the P-type high-concentration region 291 under the memory functional unit and in the vicinity of the source/drain regions, only the threshold in the writing operation largely fluctuates, and the memory effect (the difference between the threshold in the writing operation and that in the erasing operation) can be remarkably increased.

Seventh Embodiment

[0206] A sidewall memory cell in a semiconductor memory device of a seventh embodiment has a configuration substantially similar to that of the second embodiment except that, as shown in FIG. 17, the thickness (T1) of an insulating film separating the charge retaining film (silicon nitride film 242) and the channel region or well region is smaller than the thickness (T2) of the gate insulating film.

[0207] The thickness T2 of the gate insulating film 214 has the lower limit value from the demand of withstand voltage at the time of rewriting operation of the memory. However, the thickness T1 of the insulating film can be made smaller than T2 irrespective of the demand of withstand voltage.

[0208] The flexibility of designing with respect to T1 is high in the sidewall memory cell for the following reason.

[0209] In the sidewall memory cell, the insulating film for separating the charge retaining film and the channel region or well region is not sandwiched by the gate electrode and the channel region or well region. Consequently, to the insulating film for separating the charge retaining film and the channel region or well region, a high electric field acting between the gate electrode and the channel region or well region does not directly act, but a relatively low electric field spreading from the gate electrode in the lateral direction acts. Consequently, irrespective of the demand of withstand voltage to the gate insulating film, T1 can be made smaller than T2.

[0210] By making T1 thinner, injection of charges into the memory functional unit becomes easier, the voltage of the writing operation and the erasing operation is decreased or the writing operation and erasing operation can be performed at high speed. Since the amount of charges induced in the channel region or well region when charges are accumulated in the silicon nitride film 242 increases, the memory effect can be increased.

[0211] The electric lines of force in the memory functional unit include a short one which does not pass through the silicon nitride film 242 as shown by an arrow 284 in FIG. 13. On the relatively short electric line of force, electric field intensity is relatively high, so that the electric field along the electric line of power plays a big role in the rewriting operation. By reducing T1, the silicon nitride film 242 is positioned downward in the figure, and the electric line of force indicated by the arrow 283 passes through the silicon nitride film. Consequently, the effective dielectric constant in the memory functional unit along the electric line 284 of force increases, and the potential difference at both ends of the electric line of force can be further decreased. Therefore, a large part of the voltage applied to the gate electrode 217 is used to increase the electric field in the offset region, and the writing operation and the erasing operation become faster.

[0212] In contrast, for example, in an EEPROM typified by a flash memory, the insulating film separating the floating gate and the channel region or well region is sandwiched by the gate electrode (control gate) and the channel region or well region, so that a high electric field from the gate electrode directly acts. Therefore, in an EEPROM, the thickness of the insulating film separating the floating gate and the channel region or well region is regulated, and optimization of the function of the sidewall memory cell is inhibited.

[0213] As obvious from the above, by setting T1<T2, without deteriorating the withstand voltage performance of the memory, the voltage of the writing and erasing operations is decreased, or the writing operation and erasing operation are performed at high speed and, further, the memory effect can be increased.

[0214] More preferably, the thickness T1 of the insulating film is 0.8 nm or more at which uniformity or quality by a manufacturing process can be maintained at a predetermined level and which is the limitation that the retention characteristic does not deteriorate extremely.

[0215] Concretely, in the case of a liquid crystal driver LSI requiring high withstand voltage in a design rule, to drive the liquid crystal panel TFT, voltage of 15 to 18 V at the maximum is required, so that the gate oxide film cannot be thinned normally. In the case of mounting the nonvolatile memory of the present invention for image adjustment on the liquid crystal driver LSI, in the sidewall memory cell, the thickness of the insulating film separating the charge retaining film (silicon nitride film 242) and the channel region or well region can be designed optimally independently of the thickness of the gate insulating film. For example, the thickness can be individually set as T1=20 nm and T2=10 nm for a sidewall memory cell having a gate electrode length (word line width) of 250 nm, so that a sidewall memory cell having high writing efficiency can be realized (the reason why the short channel effect is not produced when T1 is larger than the thickness of a normal logic transistor is because the source and drain regions are offset from the gate electrode).

Eighth Embodiment

[0216] A sidewall memory cell in a semiconductor memory device of an eighth embodiment has a configuration substantially similar to that of the second embodiment except that, as shown in FIG. 18, the thickness (T1) of the insulating film separating the charge retaining film (silicon nitride film 242) and the channel region or well region is larger than the thickness (T2) of the gate insulating film.

[0217] The thickness T2 of the gate insulating film 214 has an upper limit value due to demand of preventing a short channel effect of the cell. However, the thickness T1 of the insulating film can be made larger than T2 irrespective of the demand of preventing the short channel effect. Specifically, when reduction in scaling progresses (when reduction in thickness of the gate insulating film progresses), the thickness of the insulating film separating the charge retaining film (silicon nitride film 242) and the channel region or well region can be designed optimally independent of the gate insulating film thickness. Thus, an effect that the memory functional unit does not disturb scaling is obtained.

[0218] The reason why flexibility of designing T1 is high in the sidewall memory cell is that, as described already, the insulating film separating the charge retaining film and the channel region or well region is not sandwiched by the gate electrode and the channel region or well region. Consequently, irrespective of the demand of preventing the short channel effect for the gate insulating film, T1 can be made thicker than T2.

[0219] By making T1 thicker, dissipation of charges accumulated in the memory functional unit can be prevented and the retention characteristic of the memory can be improved.

[0220] Therefore, by setting T1>T2, the retention characteristic can be improved without deteriorating the short channel effect of the memory.

[0221] The thickness T1 of the insulating film is, preferably, 20 nm or less in consideration of decrease in rewriting speed.

[0222] Concretely, in a conventional nonvolatile memory typified by a flash memory, a selection gate electrode serves as a write erase gate electrode, and a gate insulating film (including a floating gate) corresponding to the write erase gate electrode also serves as a charge accumulating film. Since a demand for size reduction (thinning of a film is indispensable to suppress short channel effect) and a demand for assuring reliability (to suppress leak of retained charges, the thickness of the insulating film separating the floating gate and the channel region or well region cannot be reduced to about 7 nm or less) are contradictory, it is difficult to reduce the size. Actually, according to the ITRS (International Technology Roadmap for Semiconductors), there is no prospect of reduction in a physical gate length of about 0.2 micron or less. In the sidewall memory cell, since T1 and T2 can be individually designed as described above, size reduction is made possible.

[0223] For example, for a sidewall memory cell having a gate electrode length (word line width) of 45 nm, T2=4 nm and T1=7 nm are individually set, and a sidewall memory cell in which the short channel effect is not produced can be realized. The reason why the short channel effect is not produced even when T2 is set to be thicker than the thickness of a normal logic transistor is because the source/drain regions are offset from the gate electrode.

[0224] Since the source/drain regions are offset from the gate electrode in the sidewall memory cell, as compared with a normal logic transistor, reduction in size is further facilitated.

[0225] Since the electrode for assisting writing and erasing does not exist in the upper part of the memory functional unit, a high electric field acting between the electrode for assisting writing and erasing and the channel region or well region does not directly act on the insulating film separating the charge retaining film and the channel region or well region, but only a relatively low electric field which spreads in the horizontal direction from the gate electrode acts. Consequently, the sidewall memory cell having a gate length which is reduced to be equal to or less than the gate length of a logic transistor of the same process generation can be realized.

Ninth Embodiment

[0226] A ninth embodiment relates to a change in the electric characteristic at the time of rewriting a sidewall memory cell of a semiconductor memory device.

[0227] In an N-channel type sidewall memory cell, when an amount of charges in a memory functional unit changes, a drain current (Id)-gate voltage (Vg) characteristic (actual measurement value) as shown in FIG. 19 is exhibited.

[0228] As obvious from FIG. 19, in the case of performing a writing operation in an erasing state (solid line), not only the threshold simply increases, but also the gradient of a graph remarkably decreases in a sub-threshold region. Consequently, also in a region where a gate voltage (Vg) is relatively high, the drain current ratio between the erasing state and the writing state is high. For example, also at Vg=2.5V, the current ratio of two digits or more is maintained. The characteristic is largely different from that in the case of a flash memory (FIG. 22).

[0229] Appearance of such a characteristic is a peculiar phenomenon which occurs since the gate electrode and the diffusion region are offset from each other, and the gate electric field does not easily reach the offset region. When the sidewall memory cell is in a writing state, even when a positive voltage is applied to the gate electrode, an inversion layer is extremely hard to be formed in the offset region under the memory functional unit. This is the cause that the gradient of the Id-Vg curve is gentle in the sub-threshold region in the writing state.

[0230] On the other hand, when the sidewall memory cell is in an erasing state, electrons of high density are induced in the offset region. Further, when 0 V is applied to the gate electrode (that is, when the gate electrode is in an off state), electrons are not induced in the channel below the gate electrode (consequently, an off-state current is small). This is the cause that the gradient of the Id-Vg curve is sharp in the sub-threshold region in the erasing state, and current increasing rate (conductance) is high in the region of the threshold or more.

[0231] As obviously understood from the above, in the sidewall memory cell in the semiconductor memory device of the present invention, the drain current ratio between the writing operation and the erasing operation can be particularly made high.

Tenth Embodiment

[0232] A tenth embodiment relates to a semiconductor memory device in which a plurality of sidewall memory cells (hereinafter, simply referred to as memory cells in the embodiment) according to any of the first to ninth embodiments are arranged and, further, to a programming verification method of the nonvolatile cells in the semiconductor memory device.

[0233] In the following various examples, in programming and sensing of a memory cell which has “n” (n>2) possible states, reference memory cells for verifying programming are used. Each reference memory cell for verifying programming is set so as to have a threshold voltage Vt which specifies the boundary of the possible states of a selected memory cell. In a first example, the reference cell for verifying programming is used in place of a reading reference cell and performs a binary search reading process similar to a standard reading process for memory architecture. Data sensed by a writing verifying process is compared with expected data. In a second example, a single reference memory cell for verifying programming is used to specify a threshold voltage. The memory functional unit of a selected memory cell has to be programmed so as to pass a writing verifying test when the voltage of the memory functional unit exceeds the threshold voltage. Therefore, in the second example, the reference memory cell for verifying programming is used not for determining data of a selected memory cell unlike the first example but for verifying an analog voltage level Vt of the selected memory cell.

[0234] It is assumed herein that a memory device (semiconductor memory device) which will be described in relation with the drawings is a memory device of 16 outputs having a 512 k memory cell array. In this example of the present invention, each of memory cells in the array can enter one of four possible states, and the state of the memory cell is expressed by two binary bits. The array is arranged in 1024 rows and 512 columns and is divided into 16 data blocks of the same size each having 1024 rows and 32 columns. The same reference numerals are given to constituent elements common to the examples in order to avoid confusion. The following examples do not limit the method and the device of the present invention.

[0235]FIG. 24 shows a computer system as an example. The computer system has a bus 511. To the bus 511, a processor 512, a main memory 514, a static memory 516, a mass storage device 517 and an integrated circuit (IC) controller 518 are connected. The static memory 516 has memory cells of the present invention each for storing data of a plurality of bits per one memory cell. Similarly, the mass storage device 517 is a solid-state hard drive 117 using memory cells each for storing data of a plurality of bits per one memory cell.

[0236] IC cards 519 and 520 are provided in the computer system and are connected to a personal computer memory card industry (PCMCIA) bus 526. The PCMCIA bus 526 is connected to the bus 511 and the integrated circuit (IC) controller 518 and provides information between the IC cards 519 and 520 and the rest of the computer system. The IC controller 518 gives control information and address information to the IC cards 519 and 520 via the PCMCIA bus 526.

[0237] The computer system further has a display device 521, a keyboard 522, a cursor control device 523, a hard copy device 524 and a sound sampling device 525. Specific elements and modes of the computer system are determined in accordance with a specific application using the computer system. For example, the computer system of FIG. 24 is a personal digital assistant (PDA), a pen-based computer system, a main frame computer or a personal computer.

[0238] In each of the examples, each of the memory cells is the memory cell of the present invention. Each of the memory cells in the array can be set in one of four analog states, and the state of the memory cell is expressed by two binary bits. FIG. 25 shows a distribution of a plurality of levels of a memory cell as functions of the threshold voltage Vt. As shown in the graph, the states are separated by one separate range. Three reference values Ref1, Ref2, and Ref3 are given and each range is separated from the other three separate ranges. Each of the reference values is given to separate an analog state from another analog state. State 1 includes the Vt voltage in the state of the lowest range among the four ranges, and is expressed by two bits of logic values “1, 1” (state where both memory functional units are erased). State 2 is expressed when a higher-order bit (bit 1) has the logic value “1” and a lower-order bit (bit 0) has the logic value “0”. State 3 is expressed when bit 1 has the logic value “0” and bit 0 has the logic value “1”. State 4 is expressed when both bits have the logic value “0” (both memory functional units are programmed). The number “n” of possible states is not limited to 4. For example, the number of states may be 3, 5, 16 or the like. Further, positioning of the binary bits for the analog states can be changed. For example, the voltage Vt in the lowest range can be expressed by setting the bits to have the logic values “0, 0”.

[0239] The memory cell of the present invention having the memory functional units functions as a field effect transistor having the threshold voltage Vt which increases as charges are applied to the memory functional units. The drain current Id (cell current) of the memory cell decreases as the threshold voltage Vt and the charge level of the memory cell increase. The relation between the threshold voltage Vt of the memory cell and the drain current Id of the memory cell is expressed by the following expression:

Id∝Gm×(Vg−Vt), provided that Vd>Vg−Vt,

[0240] wherein Gm denotes mutual conductance of memory cell,

[0241] Vg denotes gate voltage of memory cell,

[0242] Vd denotes drain voltage of memory cell, and

[0243] Vt indicates threshold voltage of memory cell.

[0244] When the relation is given, a plurality of methods for sensing an amount of charges stored in the memory functional unit in the memory cell exist, and one of the methods will be described as follows. The method has the steps of: sensing cell current of a memory cell when predetermined voltage is applied to a selection gate of the memory cell; sensing a voltage value necessary for the selection gate to generate expected cell current for the memory cell; sensing a voltage drop at both ends of a load connected to the drain of the memory cell when a predetermined voltage is applied to the selection gate of the memory cell; determining an amount of the voltage drop at both ends of the load by the cell current; and sensing a voltage value necessary for the selection gate to cause an expected voltage drop at both ends of the load connected to the drain of the memory cell. However, it is unnecessary to accurately determine charges stored in the memory functional unit in order to determine the analog state of the memory cell. It is sufficient to compare the characteristic of the memory cell with a known reference value.

[0245] A reference memory cell of one type is programmed so as to have the known threshold voltage Vt. A sensing circuit of the memory cell may be copied for the reference memory cell, or outputs of the sensing circuit and a reference value sensing circuit may be compared with each other by using a differential comparator. Since the memory charge level of the memory cell usually requires comparison of voltages or currents, the reference value is equivalently given by using a voltage source or a current source for supplying voltage or current corresponding to the reference memory cell having the memory charge level between specified analog states. For this reason, the reference values Ref1, Ref2, and Ref3 are not specified as the threshold voltages, cell currents, or charge levels stored in the memory functional unit. Obviously, the reference values shown in FIG. 25 correspond to characteristics of the memory cell defined by the relations among the memory charge level, cell current Id and threshold value Vt. To simplify the following description, the reference values Ref1, Ref2 and Ref3 will be expressed as reference voltages VR1, VR2 and VR3, respectively.

[0246]FIG. 26 shows a bi-output sensing and writing path architecture for carrying out a write verification scheme according to the first example. The bi-output architecture is designed so as to be able to access “m” bits included in a selected memory cell in a single clock cycle. The number of bits “m” is equal to Log2n. The architecture is referred to as “bi-output” for the reason that each of bits in the memory cell is located in a new output. FIG. 26 shows the sensing and writing path architecture of the case where two bits are stored in one memory cell. In the architecture, a memory cell for storing “m” bits may be accessed.

[0247] In the sensing path architecture, “m” outputs are given per selected memory cell. In the method, one address is used to select one memory cell. However, the positioning of a data block and that of an output do not correspond to each other in a one-to-one correspondence. In the example of FIG. 26, 16 data blocks B0 to B15 exist. Only eight data blocks out of the 16 data blocks are connected to 16 outputs D0 to D15 at once.

[0248] With respect to an array in which two bits are stored per one memory cell, the number of memory cells of 512 k remains in the array. When the increase density of the 2-bit memory array is sufficiently utilized, preferably, an extra address line is added to the number of address lines usually required to access a 1-bit memory cell array. The number of address lines to be added is a function of an increased memory space given by a plurality of bit memory cells. It is preferable to add one address line each time the memory space or memory region doubles. For an odd-number bit such as three bits per one memory cell, an address line to be added results in a larger address space than the accessible memory space. Therefore, the case of an array in which four bits are stored per one memory cell has address lines of the same number as that of the 3-bit memory cell array but both the address space and the memory space increase. In the case of reducing the size of an array to the half in order to reduce the size of a general 512 k memory device, for the 2-bit memory cell array, it is unnecessary to add an address line.

[0249] In the example, the memory functional unit of a selected memory cell is charged to a voltage level corresponding to one of the four possible states, and the state can be expressed by two binary bits. The state of the memory functional unit can be determined by using a predetermined selection voltage/variable cell current sensing scheme. In the scheme, a constant predetermined selection voltage is applied to the selection gate of the memory cell each time the memory cell is read. The state of the memory cell is determined by comparing the cell current of the memory cell with cell current of a reference cell (not shown) when the same selection voltage is applied to the memory cell and the reference cell. As described above, when the selection voltage is applied to the selection gate, the threshold voltage Vt of the memory cell determines the cell current of the memory cell.

[0250] In FIG. 26, the user gives an address, a row decoder 610 and a column decoder including column decoders 620 and 625 decode the address, and 16 memory cells as one of data blocks B0 to B 15 are selected. The address is given via an address line 605. The address line 605 has a row address line 606, a column address line 607 and an MLC address line 670. The MLC address line 670 determines eight memory cells to be connected to 16 outputs. Two memory cells 630 and 635 are selected from the 16 memory cells selected by the process of decoding the address by the row and column address decoders. The memory cell 630 is selected in the decoder block B0. The memory cell 635 is selected in the data block B1. The drains of the selected memory cells 630 and 635 are connected to a sense path circuit via the column decoders 620 and 625, respectively.

[0251] A bi-output sense path circuit has a circuit for selecting one of the selected memory cells 630 and 635 in accordance with an address bit of the MLC address line 670, a sense circuit 640 for sensing the state of the finally selected memory cell and outputting two binary bits indicative of the state, and output buffers 650 and 665 each of which outputs one of the binary bits to an output of the memory device. The circuit for selecting the selected memory cell 630 or 635 has an inverter 671 and n-channel FETs 672 and 673.

[0252] According to the state of the added MLC address line 670, whether a high word of an array constructed by the 16 bits stored in the 20 data blocks B1 to B15 of odd numbers or a low word as 16 bits stored in the data blocks B0 to B14 of even numbers has been transmitted to an output of the memory device or not is determined. The added address line is expressed as a signal line 670 which is connected to an input of the inverter 671 and the gate of the n-channel FET 673. When the address bit shows the logic value 0, the inverter 671 gives the logic value 1 to the gate of the n-channel FET 672. The FET 672 is turned on to connect the sense circuit 640 to the column decoder 620 of the data block B0, and the data block B0 stores two bits of the low word. When the address bit shows the logic value 1, the sense circuit 640 is connected to the column decoder 625 of the data block B1, and the data block B1 stores two bits of the high word. The signal line 670 is connected to similar circuits of the remaining pairs of the data block so that total eight memory cells are selected from eight data blocks and 16-bit data is outputted. A modification of the example is that the array is divided into eight data blocks each having 64 columns. In this case, an added address line is assembled in a column decoder. In this modification, the column decoder directly selects a desired memory cell and does not depend on an additional selecting circuit like the circuit having the inverter 671 and the FETs 672 and 673.

[0253] When the address bit of the MLC address line 670 becomes the logic value 0, the memory cell 630 is connected to the sense circuit 640. With respect to an access for reading, it is preferable to perform sensing operation by using a binary search sensing circuit as described below with reference to FIGS. 27 and 28. The sense circuit outputs bit 1 as the high-order bit to the output buffer 650 and outputs bit 0 as the low-order bit to the output buffer 655. The output buffers 650 and 665 output the data to outputs D0 and D1, respectively. Specific positioning of a bit to an output is not limited by neighboring outputs but is determined by requirements of the system. For example, bit 1 as the high-order bit can be transmitted to the output D0, and bit 0 as the low-order bit can be transmitted to the output D7.

[0254]FIG. 26 also shows a bi-output write path architecture which has input buffers 660 and 665, a control engine 680, AND gates 681 and 682, and n-channel FETs 690 and 695. The drains of the selected memory cells 630 and 635 are connected to a write path circuit via the column decoders 620 and 625, respectively. The control engine 680 controls erasing of the memory array. The control engine 680 also controls programming of memory cells of a plurality of levels. The control will be described in detail below. The control engine 680 controls the memory array via the row decoder 610, column decoders 620 and 625, sense circuit 640, a reference cell array (see FIG. 29), and a voltage switch circuit (not shown). The address line 605 is connected to the control engine 680. A voltage switch circuit controls various voltage levels necessary for reading, programming and erasing the memory array. VPP is a programming/erasing voltage and has to be high in order to program or erase data stored in the memory array. VPP may be supplied from the outside or internally generated. An instruction of the user for reading, erasing and programming is transmitted to the control engine 680 via an instruction interface (not shown). The control engine 680 may be a processor or a state machine provided in the memory device or can be also realized by performing the function of the control engine by a control circuit on the outside of the memory device. A similar write path circuit is provided every “n” outputs.

[0255] Each of the FETs 690 and 695 has a drain connected to the programming voltage source VPP and a source connected to a selected memory cell. When logical high voltage is applied to the gate of the FET 690 or 695, a drain path of the selected memory cell is connected to the programming source voltage VPP. The voltage level applied to the gates of the FETs 690 and 695 is determined by the AND gates 681 and 682 in accordance with the address bit of the MLC address line 670 and an output of the control engine 680. TABLE 1 External data Bit 1 Bit 0 State 1 1 State 1 1 0 State 2 0 1 State 3 0 0 State 4

[0256] To make an access for writing, each of the two external bits is encoded by the control engine 680 to one of four programming levels corresponding to four possible states. The two external bits are received from I/O pads DO and D1 via the input buffers 660 and 665. The coding can be performed by the truth table of Table 1. In this case, the programming level is used to set the threshold voltage Vt of the selected memory cell. A basic mechanism of injecting charges into the memory functional unit is thermoelectron injection. A voltage switching circuit (not shown) generates a gate voltage and a drain voltage by using the programming voltage source VPP and applies the voltage to the selected memory cell in a programming pulse period. The source of the selected memory cell is usually grounded during the programming period. The control engine 680 sets the threshold voltage Vt of the selected memory cell via a series of programming pulses. During the period of the programming pulses, the programming voltage which is outputted from the programming voltage source VPP is applied to the selected memory cell and eliminated a few times. The selected memory cell can be successfully programmed by one programming pulse. An amount of charges injected into the memory functional unit of the selected memory cell changes by changing the gate or word line voltage level from the programming pulse to the programming pulse.

[0257] During the write access period, the MLC address line 670 is used to shift 16-bit coded data to a high-order or low-order word. As shown in the figure, the MLC address line 670 is connected as an input to the AND gates 681 and 682. The address bit input is inverted with respect to the AND gate 681. A second input to each of the AND gates is an output of the control engine. In accordance with the state of the MLC address line 670, the logic value “1” outputted from the control engine 680 turns on one of the FETs 690 and 695 to connect the programming voltage VPP to the selected memory cells 630 and 635. When the address bit is high, the high-order word (odd-number data block) is programmed. The control engine for each write path determines the programming level of the selected memory cell. In the example, total 16 write paths exist.

[0258] To accept a write verifying process, an input of the control engine 680 is connected to the output of the sense circuit 640. Further, a control signal is inputted to the sense circuit 640 via the signal line 685 and a reference cell adapted to the write verifying process is selected.

[0259] The sense circuit 640 has a form of executing binary search in response to a standard read access as shown in FIGS. 27 and 28. FIG. 27 is a flowchart showing a binary searching method for determining the state of a memory cell having two or more possible states. In step S1, a memory charge level of a selected memory cell is sensed and compared with that of a first reference memory cell having Vt which is equal to VR2. The sensed memory charge level of the selected memory cell obtained as a result of the first comparison is compared with the memory charged level of one of a second reference memory cell having Vt equal to VR1 and a third reference memory cell having Vt equal to VR3. When the sensed memory charge level of the selected memory cell is lower than that of the first reference memory cell, the sensed memory charge level is compared with that of the second reference memory cell (step S2). The selected memory cell is in the state 1 or 2. When the sensed memory charge level of the selected memory cell is higher than that of the first reference memory cell, the sensed memory charge level is compared with the memory charge level of the third reference memory cell (step S3). The selected memory cell is in the state 3 or 4. The memory charge level may be sensed by any of the above-described methods.

[0260]FIG. 28 is a flowchart showing the binary searching method of the embodiment. In step S11, the charge level of the memory cell is sensed. In step S12, whether the memory charge level of the memory cell is lower than that of the reference value Ref2 or not is determined. In the case where the memory charge level of the memory cell is lower than that of the reference value Ref2, the threshold voltage Vt of the memory cell is lower than that of the reference memory cell having Vt which is equal to VR2. Similarly, the cell current Id of the memory cell is larger than the cell current IR2 of the reference memory cell having the cell current IR2. In the case where the memory charge level of the memory cell is lower than that of the reference value Ref2, Ref1 is selected (step S13). In step S14, whether the memory charge level of the memory cell is lower than that of the reference value Ref1 or not is determined. When the memory charge level of the memory cell is lower than that of the reference value Ref1, the memory cell is in the state 1 (step S15). When the memory charge level of the memory cell is higher than that of the reference value Ref1, the memory cell is in the state 2 (step S16).

[0261] In the case where the memory charge level of the memory cell is higher than that of the reference value Ref2, Ref3 is selected (step S17). In step S18, whether the memory charge level of the memory cell is lower than that of the reference value Ref3 is or not determined. In the case where the memory charge level of the memory cell is lower than that of the reference value Ref3, the memory cell is in the state 3 (step S19). In the case where the memory charge level of the memory cell is higher than the reference value Ref3, the memory cell is in the state 4 (step S20).

[0262]FIG. 29 shows a sense circuit for determining the state of the memory cell having two or more possible states. The circuit executes the method shown in FIGS. 27 and 28. The circuit uses a predetermined gate voltage/variable cell current sensing scheme. According to the scheme, the predetermined bias voltage Vs is applied to the selection gates of a selected memory cell 701 and a reference memory cell 725. The state of the selected memory cell 701 is determined by comparing the cell current of the selected memory cell 701 as a function of the charge level of the memory functional unit in the memory cell 701 with the reference cell current of the reference memory cell 725. A load is connected to the drain of each of the memory cells in order to sense the cell current, and a voltage drop occurs. In such a manner, the memory charge level of the selected memory cell is sensed and used to determine the analog state of the selected memory cell.

[0263] The state of the selected memory cell determines the voltage of a node 705. The node is the drain of an FET 703. Both negative terminals of comparators 750 and 755 are connected to the node 705, and a voltage generated by applying a bias voltage Vs to the selection gate of the selected memory cell 701 is sensed. When the bias voltage Vs is applied, the cell current of the memory cell 701 is made conductive. The charge level of the memory functional unit of the selected memory cell 701 is indicated by Vt of the selected memory cell and determines the amount of the cell current. When Vt increases, the cell current decreases. On the contrary, when Vt decreases, the cell current increases. Therefore, in the case where the selected memory cell 701 is in the state 1, the voltage of the node 705 is lower than that in the case where the selected memory cell 701 is in the state 2.

[0264] The comparator 750 has a positive terminal connected to a first reference circuit. The first reference circuit has a drain bias circuit including a load FET 714, an inverter 712 and an FET 713, and selected one of the reference memory cells 725 of a reference cell array 720 having a plurality of reference memory cells each having a predetermined threshold voltage Vt. The selection is made by a selection circuit 711 in accordance with the state of a control signal line 785. The voltage of a node 715 is determined by the cell current of the reference memory cell 725 selected by the selection circuit 711. The positive terminal of the comparator 755 is connected to a second reference circuit. The second reference circuit has a drain bias circuit including a load FET 734, an FET 733 and an inverter 732, and a selected memory cell in the reference cell array 720 having the reference memory cells 725. The various reference memory cells 725 are selected by a selection circuit 731 in accordance with an output of a sense amplifier 750 and a control signal from the signal line 785. Preferably, column load FETs 714 and 734 of the reference circuits are the same as a column bias FET 704. Similarly, a drain bias circuit is preferably the same as an inverter 702 and the FET 703. Each of the first and second reference circuits can have an independent reference cell array 720 or the first and second reference circuits can share a single reference cell array 720. In one of methods, the single reference cell array 720 to be used is provided by all of sense circuits of the memory device.

[0265] The value Vt of the reference cell in FIG. 29 will be described below with reference to FIG. 30. FIG. 30 expresses the distribution of memory cells as functions of Vt. The reference cell array 720 has 11 reference memory cells 725 in a specific example. Each of the reference memory cells 725 has a memory functional unit which is set to new Vt shown in FIG. 30. Possible Vt voltages of the reference memory cell 725 include read reference voltages (R voltages) VR1, VR2 and VR3, and program verification (PV) voltages VPV1, VPV2, VPV3, VPV4, VPV1′, VPV2′, VPV3′ and VPV4′.

[0266] Each of the PV voltage level with a dash and the PV voltage level without a dash is a program verification voltage which defines the outer side boundary of the range of the Vt voltage specifying a single state. The PV level without a dash specifies a lower boundary, and the PV level with a dash specifies a higher boundary. Therefore, VPV2 specifies the minimum Vt value at which the memory cell can be in the state 2, and VPV2′ specifies the maximum Vt value at which the memory cell can be in the state 2. The PV reference memory cell is used to guarantee the existence of the separation range for accurately determining data to be stored in the memory array. The voltage levels expressed by VR1, VR2 and VR3 are standard read reference voltages set in the separation ranges of the states.

[0267] As shown in FIG. 29, in the standard reading process, the selection circuit 711 selects the first reference memory cell having Vt which is equal to VR2. The selection circuit 731 is formed so as to respond to an output of the comparator 750 received via the signal line 760 and determines whether the second reference memory cell having Vt equal to VR1 or the third reference memory cell having Vt equal to VR3 is connected to a node 435 via the FET 733. When an output of the comparator 750 is the logic value “1”, the selection circuit 731 selects the second reference memory cell and shows that Vt of the selected memory cell 701 is lower than VR2. When an output of the comparator 750 is the logic value “0”, the third reference memory cell is selected.

[0268] The state of the signal line 785 becomes important in the write verification process. As described above with reference to FIG. 26, when the programming pulse is applied to a selected memory cell, the control engine 680 senses the state of the selected memory cell, thereby performing the write verification process. The process is performed by reading data stored in the selected memory cell by using a selected PV reference memory cell and comparing the result of the reading process with expected data for the memory cell. This is created as a “random data sense” write verification scheme. The state of the selected memory cell can be determined by comparing the analog Vt voltage level of the selected memory cell with that of the selected PV reference memory cell without a dash. This is created as a “level verification” write verification scheme. In a single-bit memory cell of the prior art, “level verification” and “random data sensing” are usually concepts of the same definition for the reason that it is necessary to use a single comparator to perform both determination of the state from two states and determination of whether the voltage reaches the threshold voltage or not.

[0269] In a plural-bit memory device, selection of either the level verification write verification scheme or the random data sensing scheme causes variations in the architecture for the memory device in which a plurality of memory cells are simultaneously programmed in parallel. The random-data sensing scheme has an advantage that a set of reference memory cells can be selected for all of memory devices in a programming period. In the example of 16 outputs, eight memory cells are simultaneously programmed, and the reference memory cells in the same set are used to program all of 512 k memory cells of the memory device. In contrast, in the level verification scheme, it is necessary to select a reference memory cell for each memory cell to be programmed. In the example of 16 outputs, a new set of reference memory cells have to be selected every eight memory cells to be programmed in parallel.

[0270]FIG. 31 shows a first method of performing the write verification process on a plural-bit memory cell. In the method, the binary search reading process is performed by using (n-1) PV reference cells in place of (n-1) reading reference cells used in a standard reading process. Therefore, the write verification process of FIG. 31 is a random data sense and write verification method. Preferably, a selected reference memory cell has a Vt level equal to a PV voltage without a dash. The voltage without a dash for the lowest state (state 1) is not required to determine the state of the selected memory cell since it is assumed that an erased memory cell is in the state 1. In the case of a memory cell for two bits, the comparator 750 is connected to the first reference memory cell having Vt equal to VPV3. The comparator 755 is selectively connected to the second reference memory cell having Vt equal to VPV2 or the third reference memory cell having Vt equal to VPV4 in accordance with an output of the comparator 750. In step S100, data is received by the control engine 680 and stored. The data is coded to the programming level as described above. In step S105, the control engine 680 selects the (n-1) PV reference memory cell by using the signal line 785 as described above. In step S110, the control engine 680 applies the programming pulse to the selected memory cell. In step S115, data stored in the selected memory cell is sensed by the sense circuit 640 by using the binary search reading method by the selected PV reference memory cell. In step S120, the sensed data in the selected memory cell is compared with expected data. The expected data is the data already received and stored. In the case where the data is not equal to the expected data, steps S110 to S120 are repeated. In the case where the data is equal to the expected data, the selected memory cell is correctly programmed, and the memory cell passes the write verification test in step S125. Preferably, the width of the programming pulse is selected so that Vt of the selected memory cell does not exceed a state larger than 1 by application of one programming pulse. Further, preferably, the control engine 680 stops application of the programming pulse after the predetermined number of programming pulses are applied to the selected memory cell.

[0271] Another method of performing the write verifying process on a plural-bit memory cell is shown in FIG. 32. The write verifying process is a level verification scheme combined with an over-program sense scheme. When a writing process starts in step S200, data is received by the control engine 680 via input buffers 660 and 665. The control engine 680 encodes the data and outputs a proper programming level as described above. In step S205, the control engine 680 selects two PV reference memory cells via the signal line 785. One PV reference cell is selected for each of the comparators 750 and 755. A first PV reference cell connected to the comparator 750 is a PV without a dash indicative of a certain state, and a second PV reference cell connected to the comparator 755 is a PV memory cell with a dash indicative of the same state. For example, if data to be programmed is “01”, the selected memory cell has to be programmed into the state 3, so that the comparator 750 has a positive terminal connected to the reference memory cell having Vt of VPV3 via the FET 713 and the selection circuit 711. The comparator 755 has a positive terminal connected to the reference memory cell having Vt of VPV3′ via the FET 733 and the selection circuit 731. The comparator 750 is connected only to the PV reference memory cell without a dash, and the comparator 755 is connected only to the PV reference memory cell with a dash, so that expected outputs of the comparators are the same irrespective of the state of the selected memory cell as shown in Table 2. TABLE 2 Output of Output of Reference Reference comparator comparator value of value of 750 at the 755 at the comparator comparator time of path time of path Level 750 755 programming programming State 1 VPV1 VPV1′ 0 1 State 2 VPV2 VPV2′ 0 1 State 3 VPV3 VPV3′ 0 1 State 4 VPV4 VPV4′ 0 1

[0272] In step S210, a programming pulse is applied to the selected memory cell for a predetermined period. In step S215, the state of the selected memory cell is sensed and compared with an expectation value “01”. In the case where the sensed data has the logic value “1” in bits 1 and 0, programming is further requested and step S210 is repeated. When it is sensed that an output of the comparator 750 has changed from the logic value 1 to 0, the programming stops in step S225. The process determining block is expressed as step S220. In the case where the output of the comparator 755 is the logic value 0, the memory cell is over-programmed, so that it does not pass the write verification test. The method of FIG. 32 guarantees that insufficient programming or over-programming does not occur.

[0273]FIG. 33 shows another method of the write verifying process. In the method, the write verifying process is performed by using a single reference cell without a dash. External data is received and stored (step S300). A lower boundary PV reference cell for a desired state is selected via the signal line 785 (step S305). Step S310 is the same as step S210 in FIG. 32. In step S315, data of the selected memory cell is verified by monitoring an output of the comparator 750. In step S320, the control engine 680 determines whether additional programming is necessary for the selected memory cell or not. In the case where an output of the comparator 750 shows that the selected memory cell has Vt lower than the program verification voltage of the PV reference memory cell, it is necessary to further perform the programming. When the sensed Vt value of the selected memory cell becomes larger than that of the reference memory cell, the programming is stopped in step S325. Table 3 shows expected outputs of the comparator 750 to finish the programming of the embodiment. In the case where connection of the selected memory cell and the reference memory cell to the comparator 750 becomes opposite, the selected memory cell is connected to the positive terminal and the reference memory cell is connected to the negative terminal, an expected output is the logic value 1. TABLE 3 Reference value of Output to finish Level comparator 750 programming State 1 VPV1 0 State 2 VPV2 0 State 3 VPV3 0 State 4 VPV4 0

[0274] application. For example, as shown in FIG. 34, the PV reference memory cell is used to perform an over-programming sensing process to determine whether a selected memory cell is over-programmed or not. In step S400, the expected data is received by the control engine 680, and the control engine 680 selects a proper PV reference value with a dash corresponding to the upper boundary of the desired state. The data of the memory cell is sensed by using the PV reference memory cell with a dash (step S410). In step S420, the control engine 680 determines whether the selected memory cell is over-programmed or not. When an output of the comparator 755 indicates that the sensed Vt of the selected memory cell is larger than Vt of the PV reference memory cell with a dash, it is determined in step S425 that the selected memory cell is over-programmed. When an output of the comparator 750 indicates that the sensed Vt of the selected memory cell is smaller than Vt of the PV reference memory cell with a dash, the selected memory cell is properly programmed and passes the over-programming sensing test. In the embodiment, when an output of the comparator 750 is the logic value 1, the selected memory cell passes the test. When an output of the comparator 750 is the logic value 0, the selected memory cell does not pass the test. When the selected memory cell and the reference memory cell are connected to the comparator 750 in a manner opposite to the above, the memory cell indicating the logic value 0 passes the test.

[0275]FIG. 35 is a flowchart showing a method of refreshing a memory cell according to an embodiment. As time elapses, there is the possibility in that a charge loss occurs in a memory functional unit of a memory cell due to leakage, and Vt of the memory cell does not exist in the boundaries of program states specified by a PV reference voltage with a dash and a PV reference voltage without a dash. There is also the possibility in that the memory cell passes the first write verifying test by mistake and does not pass the next write verifying test. To deal with the problems, a refresh mechanism is provided. Expected data is received by the control engine 680 (step S500). Like the write verifying method, the refreshing method is performed by using one or two PV reference memory cells. In the case of using one reference memory cell, preferably, the reference memory cell is a PV reference memory cell without a dash as a lower boundary of a desired state. In the case of using two reference cells, a read reference memory cell of a separation range lower than the desired state and a PV reference cell without a dash of the desired state are used. A proper reference memory cell is selected in step S505. In step S510, data of the selected memory cell is verified. In step S515, the control engine determines whether refreshing is necessary for the selected memory cell or not. In the case where an output of the comparator connected to the PV reference memory cell without a dash is the logic value 1, refreshing is necessary, and a programming pulse is applied to the selected memory cell (step S520). When an output of the comparator connected to the PV reference memory cell without a dash is the logic value 0, refreshing is unnecessary, and the refreshing process is finished (step S525).

[0276] The memory cell includes a gate electrode formed on a semiconductor layer via a gate insulating film, a channel region disposed under the gate electrode, diffusion regions disposed on both sides of the channel region, and memory functional units formed on both side of the gate electrode and having the function of retaining charges. Consequently, a forming process has high affinity with that of a normal transistor, and a memory cell can be easily formed together with peripheral circuits such as a sense circuit and an address decoder using a normal transistor, and another logic circuit. In the embodiment, the case of setting the memory functional unit into any of four states in accordance with Vt and writing 2-bit data has been described. A memory cell transistor according to the present invention has independent memory functional units on the right and left sides of the gate. By interchanging the source electrode and the drain electrode, two different kinds of information can be stored in one transistor. Therefore, for example, by providing means for interchanging the source electrode and the drain electrode of the memory cells 630 and 635 of FIG. 26, two pieces of data can be stored per one memory cell transistor.

[0277] Since the memory functional unit of the memory cell includes a charge retaining film extending almost in parallel with a side face of the gate electrode as described in the third embodiment, charges injected to the memory functional unit increases and rewriting speed increases. As described in the embodiment, the verifying operation for determining whether writing has succeeded or not is performed. In the case where a desired result is not obtained, the writing operation is repeated. Since the speed of the writing operation itself is high, a penalty is sufficiently small.

[0278] The memory cell has, as described in the seventh embodiment, a film having the surface almost parallel with the surface of the gate insulating film and having the function of retaining charges, and an insulating film which separates the film from the channel region or the semiconductor layer. The thickness of the insulating film is smaller than that of the gate insulating film and is 0.8 nm or more. Consequently, injection of charges to the memory functional unit is facilitated, and the writing operation can be performed at high speed. As described in the embodiment, the verifying operation of determining whether writing has succeeded or not is performed. In the case where a desired result is not obtained, the writing operation is repeated. Since the speed of the writing operation itself is high, a penalty is sufficiently small.

[0279] The memory functional unit of the memory cell further includes a film having the surface almost parallel with the surface of the gate insulating film and having the function of retaining charges. Therefore, variations in the memory effect can be suppressed. Consequently, in the verifying operation of determining whether writing has succeeded or not described in the embodiment, the probability of determining success increases. In the writing operation including the verifying operation, the number of determinations of verification can be decreased, so that the number of writing a memory cell can be reduced, the writing operation as a whole can be performed at higher speed, and power can be reduced.

Eleventh Embodiment

[0280] As an application example of the semiconductor memory device, for example, as shown in FIG. 20, a rewritable nonvolatile memory for image adjustment of a liquid crystal panel can be mentioned.

[0281] A liquid crystal panel 1001 is driven by a liquid crystal driver 1002. In the liquid crystal driver 1002, a nonvolatile memory 1003, an SRAM 1004 and a liquid crystal driver circuit 1005 are provided. The nonvolatile memory 1003 is constructed by the sidewall memory cell of the present invention, more preferably, any of the semiconductor memory devices of the tenth embodiments. The nonvolatile memory 1003 can be rewritten from the outside.

[0282] Information stored in the nonvolatile memory 1003 is transferred to the SRAM 1004 at the time of turn-on of the power source of an apparatus. The liquid crystal driver circuit 1005 can read stored information from the SRAM 1004 as necessary. By providing the SRAM, high reading speed of stored information can be achieved.

[0283] The liquid crystal driver 1002 may be externally attached to the liquid crystal panel 1001 as shown in FIG. 20 or formed on the liquid crystal panel 1001.

[0284] In a liquid crystal panel, tones displayed by applying voltages in multiple grades to pixels are changed. The relation between the given voltage and the displayed tone varies according to products. Consequently, information for correcting variations in each product after completion of the product is stored and correction is made on the basis of the information, thereby enabling the picture qualities of products to be made uniform. It is therefore preferable to mound a rewritable nonvolatile memory for storing correction information. As the nonvolatile memory, it is preferable to use the sidewall memory cell. Particularly, it is preferable to use any of the semiconductor memory devices of the tenth embodiments in which sidewall memory cells of the present invention are integrated.

Twelfth Embodiment

[0285]FIG. 21 shows a cellular telephone as a portable electronic apparatus incorporating the above-described semiconductor memory device.

[0286] The cellular telephone is mainly constructed by a control circuit 811, a battery 812, an RF (Radio Frequency) circuit 813, a display 814, an antenna 815, a signal line 816 and a power source line 817. The control circuit 811 incorporates therein the above-described semiconductor memory device according to the present invention. Herein, the control circuit 811 is preferably an integrated circuit, in which devices of the same configuration serve as a memory circuit device and a logic circuit device, as described in the tenth embodiment. Consequently, the integrated circuit can be easily fabricated, and thus, the fabrication cost of the portable electronic apparatus can be remarkably reduced.

[0287] In this manner, it is possible to increase the operation speed of the portable electronic apparatus and reduce the fabrication cost, so as to provide the inexpensive portable electronic apparatus having high reliability and high performance by using, for the portable electronic apparatus, the semiconductor memory device which facilitates the combination process between a memory and a logic circuit and achieves a reading operation at a high speed.

[0288] According to the present invention, at the time of programming a nonvolatile memory cell, the method includes at least the steps of:

[0289] selecting first, second, . . . and n-th references corresponding to first, second, . . . and n-th threshold voltages specifying lower limit values of states 1, 2, . . . and n, respectively;

[0290] applying a programming voltage to the nonvolatile memory cell;

[0291] sensing a threshold voltage level of the nonvolatile memory cell;

[0292] comparing the sensed threshold voltage level of the nonvolatile memory cell with the first reference to output a first result of the comparison between the threshold voltage level of the nonvolatile memory cell and the first reference;

[0293] comparing the threshold voltage level of the nonvolatile memory cell with one of the second and third references selected according to the first result to output a second result of the comparison between the threshold voltage level of the nonvolatile memory cell and the selected one of the second and third references; and

[0294] comparing the first and second results with an expectation value indicative of a desired state and, in the case where the first and second results are equal to the expectation value, indicating that the programming has succeeded. Consequently, it can be verified that a memory cell having three or more possible states is written in a desired state without being under-programmed.

[0295] According to the present invention, at the time of programming a nonvolatile memory cell, the method includes the steps of:

[0296] selecting a first reference corresponding to a first voltage specifying a lower limit of a threshold voltage level in a predetermined range for indicating a desired state;

[0297] selecting a second reference corresponding to a second voltage specifying an upper limit of the threshold voltage level in the predetermined range for indicating the desired state;

[0298] applying a programming voltage to the nonvolatile memory cell;

[0299] sensing a threshold voltage level of the nonvolatile memory cell; and

[0300] comparing the sensed threshold voltage level of the nonvolatile memory cell with the first reference, comparing the sensed threshold voltage level of the nonvolatile memory cell with the second reference and, in the case where the threshold voltage level of the nonvolatile memory cell is higher than the first reference and lower than the second reference, indicating that the nonvolatile memory cell is programmed in the desired state. Consequently, it can be verified that a memory cell having three or more possible states is written in a desired state without being under-programmed or over-programmed.

[0301] According to the present invention, at the time of programming a nonvolatile memory cell, the method includes the steps of:

[0302] selecting a first reference specifying a lower limit of a threshold voltage level in a predetermined range for indicating a desired state;

[0303] applying a programming voltage to the nonvolatile memory cell;

[0304] sensing a threshold voltage level of the nonvolatile memory cell; and

[0305] comparing the sensed threshold voltage level of the nonvolatile memory cell with the first reference and, in the case where the threshold voltage level of the nonvolatile memory cell is higher than the first reference, indicating that the nonvolatile memory cell is programmed in the desired state. Thus, it can be verified that a memory cell having two or more possible states is written in a desired state.

[0306] In the nonvolatile memory cell as a component of the semiconductor memory device, a memory function of the memory functional unit and a transistor operation function of the gate insulating film are separated from each other. Consequently, it is easy to suppress the short channel effect by thinning the gate insulating film while remaining the sufficient memory function. Further, a value of current flowing between the diffusion regions by rewriting changes larger as compared with the case of an EEPROM. Therefore, it facilitates discrimination between the writing state and the erasing state of the semiconductor memory device.

[0307] Further, the nonvolatile memory cell can be formed by a process which has very high affinity with a normal transistor forming process on the basis of the configuration. Therefore, as compared with the case of using a conventional flash memory as a nonvolatile memory cell and forming the memory cell together with a peripheral circuit which is usually made by a transistor, the number of masks and the number of processes can be dramatically reduced. Consequently, the yield of a chip on which the memory cell and the peripheral circuit are formed together can be improved. Because of this, the manufacturing cost is reduced, and a very-reliable, cheap semiconductor memory device can be obtained.

[0308] When the nonvolatile memory cell as a component of the semiconductor device according to the present invention is provided with a film which extends almost parallel with a side face of the gate electrode and having the function of retaining charges, charges injected into the memory functional units increase and programming speed increases. Therefore, the writing operation of the entire semiconductor memory device can be increased, and power can be reduced. The verifying operation for determining whether writing has succeeded or not is performed. In the case where a desired result is not obtained, the writing operation is repeated. Since the speed of the writing operation itself is high, a penalty is sufficiently small.

[0309] The nonvolatile memory cell as a component of the semiconductor memory device of the present invention is constructed to have a film having the surface almost parallel with the surface of the gate insulating film and having the function of retaining charges, and an insulating film which separates the film from the channel region or the semiconductor layer. The thickness of the insulating film is larger than that of the gate insulating film and is 0.8 nm or more. Consequently, injection of charges to the memory functional unit is facilitated, and programming can be performed at high speed. Therefore, the speed of the writing operation of the entire semiconductor memory device can be increased and the power can be reduced. The verifying operation of determining whether writing has succeeded or not is performed. In the case where a desired result is not obtained, the writing operation is repeated. Since the speed of the writing operation itself is high, a penalty is sufficiently small.

[0310] By constructing the nonvolatile memory cell as a component of the semiconductor memory device of the present invention so as to include a film having the surface almost parallel with the surface of the gate insulating film and having the function of retaining charges, variations in the memory effect can be suppressed, so that variations in programming time according to cells are suppressed. Therefore, the speed of the writing operation of the entire semiconductor memory device can be increased and power can be reduced. Consequently, in the verifying operation of determining whether writing has succeeded or not, the probability of determining success increases. In the writing operation including the verifying operation, the number of determinations of verification can be decreased, so that the number of writing a memory cell can be reduced, the writing operation as a whole can be performed at higher speed, and power can be reduced. 

What is claimed is:
 1. A method of verifying programming of a nonvolatile memory cell in a semiconductor memory device to a desired state, the semiconductor memory device including at least one nonvolatile memory cell having n (n>2) possible states, each state corresponding to threshold voltage levels within a predetermined range, the nonvolatile memory cell holding a voltage level indicative of one of the states, the method comprising at least the steps of: selecting first, second, and n-th references respectively corresponding to first, second, and n-th threshold voltages, the first, second, . . . and n-th threshold voltages specifying lower limit values of first, second, . . . and n-th states, respectively; applying a programming voltage to the nonvolatile memory cell; sensing a threshold voltage level of the nonvolatile memory cell; comparing the sensed threshold voltage level of the nonvolatile memory cell with the first reference to output a first result of the comparison between the threshold voltage level of the nonvolatile memory cell and the first reference; comparing the threshold voltage level of the nonvolatile memory cell with one of the second and third references selected according to the first result to output a second result of the comparison between the threshold voltage level of the nonvolatile memory cell and the selected one of the second and third references; and comparing the first and second results with an expectation value indicative of a desired state and, in the case where the first and second results are equal to the expectation value, indicating that the programming has succeeded, wherein the nonvolatile memory cell includes a gate electrode formed on a semiconductor layer via a gate insulating film, a channel region formed below the gate electrode, a source and a drain as diffusion regions formed on both sides of the channel region and having a conductive type opposite to that of the channel region, and memory functional units formed on both sides of the gate electrode and having the function of retaining charges.
 2. The programming verification method according to claim 1, wherein the step of comparing the threshold voltage level of the nonvolatile memory cell with the selected one of the second and third references includes the step of: comparing the threshold voltage level of the nonvolatile memory cell with the second reference in the case where the first result indicates that the threshold voltage level of the nonvolatile memory cell is lower than the first reference, and comparing the threshold voltage level of the nonvolatile memory cell with the third reference in the case where the first result indicates that the threshold voltage level of the nonvolatile memory cell is higher than the first reference.
 3. The programming verification method according to claim 2, further comprising the of steps of: applying a programming voltage to the nonvolatile memory cell; comparing the threshold voltage level of the nonvolatile memory cell with the first reference to output the first result; comparing the threshold voltage of the nonvolatile memory cell with selected one of the second and third references to output the second result; comparing the first and second results with an expectation value; and, in the case where the first and second results are not equal to the expectation value, repeating the above steps in this order until the first and second results become equal to the expectation value.
 4. The programming verification method according to claim 1, wherein the nonvolatile memory cell includes a film which extends substantially parallel with a side face of the gate electrode and which has the function of retaining charges.
 5. The programming verification method according to claim 1, wherein the nonvolatile memory cell includes (1) a film having a surface which extends substantially parallel with a surface of the gate insulating film and having the function of retaining charges, and (2) an insulating film for separating the film from the channel region or from the semiconductor layer, and wherein the thickness of the insulating film is larger than that of the gate insulating film and is 0.8 nm or more.
 6. The programming verification method according to claim 1, wherein the nonvolatile memory cell includes a film having a surface substantially parallel with a surface of the gate insulating film and having the function of retaining charges.
 7. A method of verifying programming of a nonvolatile memory cell in a semiconductor memory device to a desired state, the semiconductor memory device including at least one nonvolatile memory cell having n (n>2) possible states, each state corresponding to threshold voltage levels within a predetermined range, the nonvolatile memory cell holding a voltage level indicative of one of the states, the method comprising at least the steps of: selecting a first reference, the first reference corresponding to a first voltage, the first voltage specifying a lower limit of threshold voltage levels within a predetermined range, the threshold voltage levels for indicating the desired state; selecting a second reference corresponding to a second voltage, the second voltage specifying an upper limit of the threshold voltage levels within the predetermined range, the threshold voltage levels for indicating the desired state; applying a programming voltage to the nonvolatile memory cell; sensing a threshold voltage level of the nonvolatile memory cell; and comparing the sensed threshold voltage level of the nonvolatile memory cell with the first reference, comparing the sensed threshold voltage level of the nonvolatile memory cell with the second reference and, in the case where the threshold voltage level of the nonvolatile memory cell is higher than the first reference and lower than the second reference, indicating that the nonvolatile memory cell is programmed into the desired state, wherein the nonvolatile memory cell includes a gate electrode formed on a semiconductor layer via a gate insulating film, a channel region formed below the gate electrode, a source and a drain as diffusion regions formed on both sides of the channel region and having a conductive type opposite to that of the channel region, and memory functional units formed on both sides of the gate electrode and having the function of retaining charges.
 8. The programming verification method according to claim 7, further comprising the steps of: applying a programming voltage to the nonvolatile memory cell when the threshold voltage level of the nonvolatile memory cell is lower than the first reference; comparing the threshold voltage level of the nonvolatile memory cell with the first and second references; and repeating the above steps in this order until the threshold voltage level of the nonvolatile memory cell becomes higher than the first reference.
 9. The programming verification method according to claim 8, further comprising the step of: indicating that the nonvolatile memory cell is over-programmed when the threshold voltage level of the nonvolatile memory cell is higher than the second reference.
 10. The programming verification method according to claim 9, further comprising the step of: receiving data, the data indicating that the nonvolatile memory cell is in the desired state, wherein the steps of selecting the first reference and selecting the second reference are performed in accordance with the received data.
 11. The programming verification method according to claim 7, wherein the nonvolatile memory cell includes a film which extends substantially parallel with a side face of the gate electrode and which has the function of retaining charges.
 12. The programming verification method according to claim 7, wherein the nonvolatile memory cell includes (1) a film having a surface which extends substantially parallel with a surface of the gate insulating film and having the function of retaining charges, and (2) an insulating film for separating the film from the channel region or from the semiconductor layer, and wherein the thickness of the insulating film is larger than that of the gate insulating film and is 0.8 nm or more.
 13. The programming verification method according to claim 7, wherein the nonvolatile memory cell includes a film having a surface substantially parallel with a surface of the gate insulating film and having the function of retaining charges.
 14. A method of verifying programming of a nonvolatile memory cell in a semiconductor memory device to a desired state, the semiconductor memory device including at least one nonvolatile memory cell having n (n>2) possible states, each state corresponding to threshold voltage levels within a predetermined range, the nonvolatile memory cell holding a voltage level indicative of one of the states, the method comprising at least the steps of: selecting a first reference, the first reference specifying a lower limit of threshold voltage levels in the predetermined range, the threshold voltage levels for indicating the desired state; applying a programming voltage to the nonvolatile memory cell; sensing a threshold voltage level of the nonvolatile memory cell; and comparing the sensed threshold voltage level of the nonvolatile memory cell with the first reference and, in the case where the threshold voltage level of the nonvolatile memory cell is higher than the first reference, indicating that the nonvolatile memory cell is programmed into the desired state, wherein the nonvolatile memory cell includes a gate electrode formed on a semiconductor layer via a gate insulating film, a channel region formed below the gate electrode, a source and a drain as diffusion regions formed on both sides of the channel region and having a conductive type opposite to that of the channel region, and memory functional units formed on both sides of the gate electrode and having the function of retaining charges.
 15. The programming verification method according to claim 14, further comprising the steps of: applying a programming voltage to the nonvolatile memory cell; comparing the threshold voltage level of the nonvolatile memory cell with the first reference; and, in the case where the threshold voltage level of the nonvolatile memory cell is lower than the threshold voltage level of the first reference, repeating the above steps in this order until the threshold voltage level of the nonvolatile memory cell becomes higher than the first reference.
 16. The programming verification method according to claim 14, wherein the nonvolatile memory cell includes a film which extends substantially parallel with a side face of the gate electrode and which has the function of retaining charges.
 17. The programming verification method according to claim 14, wherein the nonvolatile memory cell includes (1) a film having a surface which extends substantially parallel with a surface of the gate insulating film and having the function of retaining charges, and (2) an insulating film for separating the film from the channel region or from the semiconductor layer, and wherein the thickness of the insulating film is larger than that of the gate insulating film and is 0.8 nm or more.
 18. The programming verification method according to claim 14, wherein the nonvolatile memory cell includes a film having a surface substantially parallel with a surface of the gate insulating film and having the function of retaining charges.
 19. A method of verifying programming of a nonvolatile memory cell in a semiconductor memory device to a desired state, the semiconductor memory device including at least one nonvolatile memory cell having n (n>2) possible states, each state corresponding to threshold voltage levels within a predetermined range, the nonvolatile memory cell holding a voltage level indicative of one of the states, the method comprising at least the steps of: selecting a first reference, the first reference corresponding to a first voltage, the first voltage specifying an upper limit of threshold voltage levels within a predetermined range, the threshold voltage levels for indicating the desired state; sensing the threshold voltage level of the nonvolatile memory cell; and comparing the sensed threshold voltage level of the nonvolatile memory cell with the first reference and, in the case where the threshold voltage level of the nonvolatile memory cell is higher than the first reference, indicating that the nonvolatile memory cell is over-programmed, wherein the nonvolatile memory cell includes a gate electrode formed on a semiconductor layer via a gate insulating film, a channel region formed below the gate electrode, a source and a drain as diffusion regions formed on both sides of the channel region and having a conductive type opposite to that of the channel region, and memory functional units formed on both sides of the gate electrode and having the function of retaining charges.
 20. The programming verification method according to claim 19, wherein the nonvolatile memory cell includes a film which extends substantially parallel with a side face of the gate electrode and which has the function of retaining charges.
 21. The programming verification method according to claim 19, wherein the nonvolatile memory cell includes (1) a film having a surface which extends substantially parallel with a surface of the gate insulating film and having the function of retaining charges, and (2) an insulating film for separating the film from the channel region or from the semiconductor layer, and wherein the thickness of the insulating film is larger than that of the gate insulating film and is 0.8 nm or more.
 22. The programming verification method according to claim 19, wherein the nonvolatile memory cell includes a film having a surface substantially parallel with a surface of the gate insulating film and having the function of retaining charges.
 23. A method of refreshing and setting a nonvolatile memory cell in a semiconductor memory into a desired state, the semiconductor memory device including at least one nonvolatile memory cell having n (n>2) possible states, each state corresponding to threshold voltage levels within a predetermined range, the nonvolatile memory cell holding a voltage level indicative of one of the states, the method comprising the steps of: selecting a first reference, the first reference specifying a lower limit of threshold voltage levels within a predetermined range, the threshold voltage levels for indicating a desired state; sensing a threshold voltage level of the nonvolatile memory cell; comparing the sensed threshold voltage level of the nonvolatile memory cell with the first reference; and applying a programming voltage to the nonvolatile memory cell, comparing the threshold voltage level of the nonvolatile memory cell with the first reference and, in the case where the threshold voltage level of the nonvolatile memory cell is lower than the first reference, repeating the above steps in this order until the threshold voltage level of the nonvolatile memory cell becomes higher than the first reference, wherein the nonvolatile memory cell includes a gate electrode formed on a semiconductor layer via a gate insulating film, a channel region formed below the gate electrode, a source and a drain as diffusion regions formed on both sides of the channel region and having a conductive type opposite to that of the channel region, and memory functional units formed on both sides of the gate electrode and having the function of retaining charges.
 24. A semiconductor memory device including at least one nonvolatile memory cell having n (n>2) possible states, each state corresponding to threshold voltage levels within a predetermined range, the nonvolatile memory cell holding a voltage level indicative of one of the states, the semiconductor memory device comprising a programming circuit for verifying programming of the nonvolatile memory cell to a desired state, the programming circuit including: a plurality of read references corresponding to read voltages of the plurality of states, respectively; a first reference corresponding to a first voltage, the first voltage specifying a first lower-limit value of a first state;. a second reference corresponding to a second voltage, the second voltage specifying a second lower-limit value of a second state; a third reference corresponding to a third voltage, the third voltage specifying a third lower-limit value of a third state; a control engine connected to the nonvolatile memory cell and to the first, second and third references in order to apply a programming voltage to the nonvolatile memory cell for programming the nonvolatile memory cell into a desired state, to generate a selection signal for selecting the first, second or third reference, to sense the present state of the nonvolatile memory cell, to compare the present state with the desired state and, in the case where the present state is equal to the desired state, to indicate that the nonvolatile memory cell is programmed successfully; and a sense circuit connected to the first, second and third reference in accordance with the selection signal and connected to the nonvolatile memory cell and the control engine, the sense circuit for sensing the present state of the nonvolatile memory cell, the sense circuit including: (i) a first comparator, connected to the nonvolatile memory cell, the control engine and the first reference, for comparing a threshold voltage level of the nonvolatile memory cell with the first reference to output a first result to the control engine; (ii) a second comparator, connected to the nonvolatile memory cell, the control engine and the selected one of the second and third references, for comparing the threshold voltage level of the nonvolatile memory cell with the selected one of the second and third references to output a second result to the control engine; and (iii) a selection circuit, connected so as to receive the first result out of the first and second results indicative of the present state of the nonvolatile memory cell, for selectively connecting one of the second and third references to the second comparator in accordance with the first result, and wherein the nonvolatile memory cell includes a gate electrode formed on a semiconductor layer via a gate insulating film, a channel region formed below the gate electrode, a source and a drain as diffusion regions formed on both sides of the channel region and having a conductive type opposite to that of the channel region, and memory functional units formed on both sides of the gate electrode and having the function of retaining charges.
 25. The semiconductor memory device according to claim 24, wherein in the case where the threshold voltage level of the nonvolatile memory cell is higher than the first reference, the selection circuit connects the second reference and the second comparator.
 26. The semiconductor memory device according to claim 25, wherein in the case where the threshold voltage level of the nonvolatile memory cell is lower than the first reference, the selection circuit connects the third reference and the second comparator.
 27. The semiconductor memory device according to claim 26, wherein each of the plurality of read references and the first, second and third references is a reference memory cell.
 28. The semiconductor memory device according to claim 24, wherein the nonvolatile memory cell includes a film which extends substantially parallel with a side face of the gate electrode and which has the function of retaining charges.
 29. The semiconductor memory device according to claim 24, wherein the nonvolatile memory cell includes (1) a film having a surface which extends substantially parallel with a surface of the gate insulating film and having the function of retaining charges, and (2) an insulating film for separating the film from the channel region or from the semiconductor layer, and wherein the thickness of the insulating film is larger than that of the gate insulating film and is 0.8 nm or more.
 30. The semiconductor memory device according to claim 24, wherein the nonvolatile memory cell includes a film having a surface substantially parallel with a surface of the gate insulating film and having the function of retaining charges.
 31. A semiconductor memory device including at least one nonvolatile memory cell having n (n>2) possible states, each state corresponding to threshold voltage levels within a predetermined range, the nonvolatile memory cell holding a voltage level indicative of one of the states, the semiconductor memory device comprising a programming circuit for verifying programming of the nonvolatile memory cell to a desired state, the programming circuit including: a plurality of read references corresponding to read voltages of the plurality of states, respectively; a first reference corresponding to a first voltage, the first voltage specifying a lower-limit value of the desired state; a second reference corresponding to a second voltage, the second voltage specifying an upper-limit value of the desired state; a control engine connected between the nonvolatile memory cell and the first and second references to apply a programming voltage to the nonvolatile memory cell for programming the nonvolatile memory cell into the desired state, to generate a selection signal for selecting the first and second references, and to sense the present state of the nonvolatile memory cell; and a sense circuit connected to the first and second references in accordance with the selection signal and connected to the nonvolatile memory cell and the control engine, the sense circuit for sensing the presently retained voltage of the nonvolatile memory cell, the sense circuit including: (i) a first comparator, connected to the nonvolatile memory cell, the control engine and the first reference, for comparing a threshold voltage level of the nonvolatile memory cell with the first reference and, in the case where the threshold voltage level of the nonvolatile memory cell is higher than the first reference, outputting a first result signal to the control engine; and (ii) a second comparator, connected to the nonvolatile memory cell, the control engine and the second reference, for comparing the threshold voltage level of the nonvolatile memory cell with the second reference and, in the case where the threshold voltage of the nonvolatile memory cell is smaller than the second reference, outputting the second result signal to the control engine, the sense circuit indicating that the nonvolatile memory cell is programmed into the desired state from outputs of the first and second result signals, wherein the nonvolatile memory cell includes a gate electrode formed on a semiconductor layer via a gate insulating film, a channel region formed below the gate electrode, a source and a drain as diffusion regions formed on both sides of the channel region and having a conductive type opposite to that of the channel region, and memory functional units formed on both sides of the gate electrode and having the function of retaining charges.
 32. The semiconductor memory cell according to claim 31, wherein each of the first and second references is a reference memory cell.
 33. The semiconductor memory device according to claim 31, wherein the desired state comprises first and second values, and wherein the control engine compares the first result signal with the first value and, in the case where the first result signal is not equal to the first value, applies a programming voltage.
 34. The semiconductor memory device according to claim 31, wherein the nonvolatile memory cell includes a film which extends substantially parallel with a side face of the gate electrode and which has the function of retaining charges.
 35. The semiconductor memory device according to claim 31, wherein the nonvolatile memory cell includes (1) a film having a surface which extends substantially parallel with a surface of the gate insulating film and having the function of retaining charges, and (2) an insulating film for separating the film from the channel region or from the semiconductor layer, and wherein the thickness of the insulating film is larger than that of the gate insulating film and is 0.8 nm or more.
 36. The semiconductor memory device according to claim 31, wherein the nonvolatile memory cell includes a film having a surface substantially parallel with a surface of the gate insulating film and having the function of retaining charges.
 37. A semiconductor memory device including at least one nonvolatile memory cell having n (n>2) possible states, each state corresponding to threshold voltage levels within a predetermined range, the nonvolatile memory cell holding a voltage level indicative of one of the states, the semiconductor memory device comprising a programming circuit for verifying programming of the nonvolatile memory cell to a desired state, the programming circuit including: a plurality of read references corresponding to read voltages of the plurality of states, respectively; a first reference corresponding to a first voltage, the first voltage specifying a lower-limit value of the desired state; a control engine connected between the nonvolatile memory cell and a second reference to apply a programming voltage to the nonvolatile memory cell for programming the nonvolatile memory cell into the desired state, to generate a selection signal for selecting the first reference, and to sense the present state of the nonvolatile memory cell; and a sense circuit connected to the first reference in accordance with the selection signal and connected to the nonvolatile memory cell and the control engine, the sense circuit for sensing the presently retained voltage of the nonvolatile memory cell, the sense circuit including a first comparator, connected to the nonvolatile memory cell, the control engine and the first reference, for comparing a threshold voltage level of the nonvolatile memory cell with the first reference and, in the case where the threshold voltage level of the nonvolatile memory cell is higher than the first reference, outputting a result signal to the control engine, the result signal indicating that the nonvolatile memory cell is programmed into the desired state, wherein the nonvolatile memory cell includes a gate electrode formed on a semiconductor layer via a gate insulating film, a channel region formed below the gate electrode, a source and a drain as diffusion regions formed on both sides of the channel region and having a conductive type opposite to that of the channel region, and memory functional units formed on both sides of the gate electrode and having the function of retaining charges.
 38. The semiconductor memory device according to claim 37, wherein the first reference is a reference memory cell.
 39. The semiconductor memory device according to claim 38, wherein the desired state comprises a first value, and wherein the control engine compares a first result with the first value and, in the case where the first result is not equal to the first value, applies the programming voltage.
 40. The semiconductor memory device according to claim 37, wherein the nonvolatile memory cell includes a film which extends substantially parallel with a side face of the gate electrode and which has the function of retaining charges.
 41. The semiconductor memory device according to claim 37, wherein the nonvolatile memory cell includes (1) a film having a surface which extends substantially parallel with a surface of the gate insulating film and having the function of retaining charges, and (2) an insulating film for separating the film from the channel region or from the semiconductor layer, and wherein the thickness of the insulating film is larger than that of the gate insulating film and is 0.8 nm or more.
 42. The semiconductor memory device according to claim 37, wherein the nonvolatile memory cell includes a film having a surface substantially parallel with a surface of the gate insulating film and having the function of retaining charges.
 43. A semiconductor memory device including at least one nonvolatile memory cell having n (n>2) possible states, each state corresponding to threshold voltage levels within a predetermined range, the nonvolatile memory cell holding a voltage level indicative of one of the states, the semiconductor memory device comprising a programming circuit for verifying programming of the nonvolatile memory cell to a desired state, the programming circuit including: a plurality of read references corresponding to read voltages of the plurality of states, respectively; a first reference corresponding to a first voltage, the first voltage specifying an upper-limit value of the desired state; a control engine connected to the nonvolatile memory cell and the first reference for generating a selection signal to select the first reference and for sensing the present state of the nonvolatile memory cell; and a sense circuit connected to the first reference in accordance with the selection signal and connected to the nonvolatile memory cell and the control engine, the sense circuit for sensing the presently retained voltage of the nonvolatile memory cell, the sense circuit including a first comparator, connected to the nonvolatile memory cell, the control engine and the first reference, for comparing a threshold voltage level of the nonvolatile memory cell with the first reference and, in the case where the threshold voltage level of the nonvolatile memory cell is higher than the first reference, outputting a result signal to the control engine, the result signal indicating that the nonvolatile memory cell is over-programmed, and wherein the nonvolatile memory cell includes a gate electrode formed on a semiconductor layer via a gate insulating film, a channel region formed below the gate electrode, a source and a drain as diffusion regions formed on both sides of the channel region and having a conductive type opposite to that of the channel region, and memory functional units formed on both sides of the gate electrode and having the function of retaining charges.
 44. The semiconductor memory device according to claim 43, wherein the first reference is a reference memory cell.
 45. The semiconductor memory device according to claim 44, wherein the desired state comprises a first value and wherein the control engine compares a first result signal with the first value and, in the case where the first result signal is not equal to the first value, indicates that the nonvolatile memory cell is over-programmed.
 46. A portable electronic apparatus comprising the semiconductor memory device according to the claim
 24. 